Re: Port Forwarding
Check /proc/sys/net/ipv4/ip_forward again. Type "echo 1 >
--- Dominique Benz <firstname.lastname@example.org> wrote:
> Hello List!
> I'm a little new in the world of iptables and could need some advice
> concerning a simple Port Forwarding. I created s basic rule set as
> in common howtos and the internet:
> # iptables -A FORWARD -i eth0 -p tcp --dport port -j ACCEPT
> # iptables -t nat -A PREROUTING -i eth0 -p tcp --dport port -j DNAT --to
> My FORWARD CHAIN contains two further entries (they actually don't
> the above rules):
> # iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
> # iptables -A FORWARD -i eth0 -o eth1 -m state --state
> -j ACCEPT
> Although I have ip_forwarding enabled and ifconfig seems to be ok, the
> Forwarding doesn't work with these rule set and there is no firewall on
> The strange thing now is, that I actually made a working Port Forwarding
> earlier which I forgot to backup, d'oh! Since reboot I have difficulties
> setting up the correct rules again.
> I probably used to have an older iptables version installed when no
> occurred, but I think this doesn't matter anyway. Current Version: 1.2.8
> Anyone help?
> Dominique Benz
> ATTACHMENT part 2 application/ms-tnef name=winmail.dat
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.