All pastes #615175 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-07-11 23:46 UTC
rendered paste body
#!/bin/bash
#echo 1 > /proc/sys/net/ipv4/ip_forward

iptables -F
iptables -t nat -F

iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT

iptables -t nat -A POSTROUTING -j MASQUERADE