Having NAT issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is driving me up a wall.
I have a NAT entry such as thus:

iptables -t nat -A PREROUTING -d 1.2.3.4 \
        -p tcp --dport 5631 -j DNAT --to 192.168.1.1


The thing doesn't work. If I run a telnet session from the NAT box to the
internal machines port of 5631, it responds. But, when doing that from the
outside world, it doesn't. And yes the outside IP is bound to the NAT box, as
eth0:2 actually. This is a pcAnywhere connection, but I doubt that pcAnywhere
cares as it works on other servers, just not this one.

Some stats of the server:
iptables 1.2.9
kernel 2.6.3 (also tried 2.4.25)
gcc 3.2.3
libc 2.3.2


Any ideas?

--
Northern Indiana ESC
Adam Kennedy - akennedy@xxxxxxxxxxxxxxx
Linux Specialist / Network Administrator
Phone: (574) 254-0111 x113
Toll Free: 800-326-5642
Fax: (574) 254-0148



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux