[WBEL-users] OT iptables DNAT forwarding

Marco Kunkler mkunkler@issk.net
Thu, 26 Feb 2004 23:39:30 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

HI Daniel,
i try this one:

~ $IPTABLES -t nat -A PREROUTING -p tcp --dport <port> -i <interface> -j
DNAT --to-destination <IP>

it is work, i think write the interface in the rule.
greetings

Marco

Daniel T. Gynn schrieb:
| I know this is off topic, but I figured I'd give it a shot.
|
| I am going crazy trying to forward pop3 requests to another server.
| Everywhere I see on the internet, it seems to be correct. If I access
| from an internal address, it seems to work, but from an external one, it
| just times out. My rules are:
|
| $IPTABLES -A PREROUTING -t nat -p tcp --dport 110 -j DNAT --to $POP3
| $IPTABLES -A FORWARD -p tcp --dport pop3 -j ACCEPT
|
|
| I've even tried setting all rules to ACCEPT and it still won't work. Am
| I forgetting something?
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iQEVAwUBQD51ormFadRLl93OAQJYtwf+M4kRFYF+qoXImeqRWuigFJYxvGpzVcdE
qk80tYxvLFeoEjZ1nb/RSBXg3R7KPuUjz3FJNRCsmxQ9elAJEJWrLlnZVeovdMaN
FPyjG9+PezInzMQY5osIH0muDyNQwDzwSS8VdWm+0GSQwFEe4eAHRRBe73Q1N9kT
gQ0z8nYeXGrfGjyhDhYuKHVVjpslw8pFHo+Hx5RllEKjlSH3H2KNyNdkmyxxwrBG
tdFMhAI7bIfUaEPm4IZ8lrHAQfH7z+TIcxSXMKLMMgM7vd5DFjQC6WtBWXwm2x+b
+f2qeVurSqB8imciZozjLSYqVFhp1zsdqS0iXuBXt64aYMD0jshSAQ==
=3oSO
-----END PGP SIGNATURE-----