8 lines
159 B
Text
8 lines
159 B
Text
|
#!/bin/bash
|
||
|
|
||
|
INTERFACE=$1
|
||
|
|
||
|
echo "iptables -t nat -A POSTROUTING -o $INTERFACE -j MASQUERADE" > /etc/iptables-rules.d/90-pppd
|
||
|
|
||
|
/usr/local/sbin/iptables-enforce
|