All pastes #43584 Raw Edit

Miscellany

public text v1 · immutable
#43584 ·published 2006-02-28 12:04 UTC
rendered paste body
to do the forwarding: echo "1" > /proc/sys/net/ipv4/ip_forward; iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables --table nat --insert PREROUTING --in-interface eth0 --protocol 
               tcp --destination-port 6881 --jump DNAT --to-destination 192.168.1.2
this is an example only; dont know if it will work for you