Answer the question
In order to leave comments, you need to log in
Port forwarding from a gateway with two providers - where to dig?
Good morning, hackers!
Given:
Gateway on Debian
1st provider - slow, but with white IP
2nd provider - fast, but gray IP
Task:
1. Distribute Internet over a fast channel - decided
2. Accept connections to white IP on port 22 - decided
3 Forward port 25 from white IP to server on LAN 192.168.6.10 - not working
My /etc/network/interfaces
Many thanks in advance.
Update: A server on the local network needs a fast link.
Update2: If you distribute the Internet over a slow channel (that is, make the second one the default gateway), then port forwarding works successfully. Problem in routing
Answer the question
In order to leave comments, you need to log in
configure the routes, your packet arrives on a white IP, and flies away from a gray one, and on the other side they cannot understand the packet was sent to one place, but comes from another.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question