Results 1 to 4 of 4
Hi All
Been reading the IPTABLES forwarding example, however my case is different as there is no nat involved.
I have two machines on a network both with public IP's
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-27-2004 #1Just Joined!
- Join Date
- Nov 2004
- Posts
- 4
Port forwarding - without NAT.
Hi All
Been reading the IPTABLES forwarding example, however my case is different as there is no nat involved.
I have two machines on a network both with public IP's
200.0.0.1 and 200.0.0.2
I want to forward 443 on ppp0 interface on 200.0.0.1 to 443 on 200.0.0.2
Is not working for me.. I think its because I left out the PREROUTING.. though all examples I've seen use NAT.Code:/sbin/iptables -A INPUT -p tcp --dport 443 -j ACCEPT /sbin/iptables -A FORWARD -p tcp -i ppp0 -d 200.0.0.2 --sport 443 --dport 443 -j ACCEPT
Thanks for any help
- 11-28-2004 #2Just Joined!
- Join Date
- Nov 2004
- Posts
- 4
Come on fella's - anyone have any idea?
- 11-29-2004 #3Just Joined!
- Join Date
- Nov 2004
- Posts
- 4
Hmm I'm actually think that you would still need NAT. Even though they both public IP's, since your still essentially "translating" packets.
- 11-29-2004 #4Just Joined!
- Join Date
- Nov 2004
- Posts
- 4
Bugger even if I try to use iptables I get:
BTW the distro is debian.Code:iptables v1.2.9: can't initialize iptables table `NAT': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.


Reply With Quote
