All pastes #247989 Raw Edit

Stuff

public text v1 · immutable
#247989 ·published 2006-11-14 01:35 UTC
rendered paste body
#! /bin/sh

iptables -F
iptables -t nat -F

iptables -P FORWARD ACCEPT


iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j MASQUERADE


echo 1 > /proc/sys/net/ipv4/ip_forward