All pastes #287859 Raw Edit

Stuff

public cpp v1 · immutable
#287859 ·published 2006-12-21 21:04 UTC
rendered paste body
#!/bin/shiptables --flushiptables --table nat --flushiptables --delete-chainiptables --table nat --delete-chain# Set up IP FORWARDing and Masqueradingiptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADEiptables --append FORWARD --in-interface eth1 -j ACCEPTecho 1 > /proc/sys/net/ipv4/ip_forward