Hello all.
I want to forward all the connections i get throught eth0 to get passed to interface eth1, ip 192.168.0.200 on port 21.
I already tryied most rules i'we found with google but they simply doesnt work.
My boot network script:
#!/bin/sh
PATH=/usr/sbin:/sbin:/bin:/user/bin
#dhclient eth0
ifconfig eth1 192.168.0.1
ifconfig eth1 up
iptables -F
iptables -t nat -F
iptables -t mangle -F
iptables -X
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
######