Apis17™ Blogs
This is my personal blog. My research about computer and software :)
Friday, February 21, 2014
simple unifi router
here's mine:
stored here for recovery later :)
#!/bin/sh
modprobe iptable_nat
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -A FORWARD -j ACCEPT
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)