How to upload use specific connections, while download using others?


#1

Hi,

I have a Peplink 310 and I’m trying to create an outbound rule that will allow me to use specific internet connections (2 and 3) to upload content to one domain, without affecting the download.

I created the following rule:


This indeed allows me to upload content to amazonaws.com using those specific connections. Great. However, I noticed that this also affects the download, which is not what I want. By applying that outbound rule, not only uploads but also downloads are happening using internet connections 2 and 3.

Any ideas? Please keep in mind all uploads and downloads happen via HTTPS, not FTP.

Thanks in advance!

Helder


#2

Hi Helder, the Internet does not work this way. When an outbound session is established over a certain WAN connection then the return traffic will always come back on the same WAN connection.


#3

Hi, Tim.

Thanks for your response. I’m not sure I understand it though…

We’re talking about completely different sessions here. Let’s say computer A is uploading to a server, according to rule “A”. Now, let’s say I want computer B to download something from that same server, following a different “B”. That should be possible, in theory, with different rules, right?

Am I missing something?

Thanks!


#4

If you want a specific computer or device to use a certain WAN then you could just create a new rule and use the source IP of that device.


#5

Thanks again for your answer. I’m aware that I can specify a WAN for a particular IP. What is not clear to me is whether I can specify one WAN for the upload and a different one for download, for the same source or destination IP.

Can you help me clarify that, please?

I appreciate your help. Thanks!

Helder


#6

Hi,

Your request can be achieve if upload and download are using defferent ports. For example upload using port 21 (FTP), download using port 80.

If upload and download are using same port (e.g. FTP), there is no way to achieve and not make sense. To be clear, you can’t tell remote server to listen on FTP port with incoming IP 1.1.1.1 (e.g. WAN1 IP) and return FTP request to IP 2.2.2.2 (e.g. WAN2 IP) for same session.

Hope this help.


#7

As TK explained, pretend you were a random server on the Internet and you received a request from a WAN IP of 1.1.1.1 to download a file or web page. How could the server possibly know to send it to a totally different IP address of 2.2.2.2?

Hope this helps.