Stuff
public cpp v1 · immutable#!/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