Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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 and

    I want to forward 443 on ppp0 interface on to 443 on

    /sbin/iptables -A INPUT -p tcp --dport 443 -j ACCEPT 
    /sbin/iptables -A FORWARD -p tcp -i ppp0 -d --sport 443 --dport 443 -j ACCEPT
    Is not working for me.. I think its because I left out the PREROUTING.. though all examples I've seen use NAT.

    Thanks for any help

  2. #2
    Come on fella's - anyone have any idea?

  3. #3
    Hmm I'm actually think that you would still need NAT. Even though they both public IP's, since your still essentially "translating" packets.

  4. $spacer_open
  5. #4
    Bugger even if I try to use iptables I get:

    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.
    BTW the distro is debian.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts