Add static route in Smoothwall
作者:互联网
Add static route in Smoothwall
Firstly, edit the file /etc/rc.d/rc.netaddress.upAbove the 'echo "setting up firewall ……."', add:
/sbin route add -net destination netmask subnetmask gw gateway devdeviceinterface
————————————–
Edit /etc/rc.d/rc.firewall.upAfter the section on "# Allow packets that we know about through …"
Add:
# Allow packets from green to green
/sbin/iptables -A FORWARD -i $GREEN_DEV -o $GREEN_DEV -j ACCEPT
Share this:
Like this:
Like Loading...Related
标签:Smoothwall,share,window,Add,static,rc,new,Click,Opens 来源: https://blog.csdn.net/cpongo7/article/details/98947670