Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

/root/scripts/netup.sh: Difference between revisions

From COCNM
Jump to navigation Jump to search
No edit summary
Line 15: Line 15:
/bin/bash /root/scripts/qos.sh
/bin/bash /root/scripts/qos.sh
/usr/local/sbin/ipsec setup start
/usr/local/sbin/ipsec setup start
/usr/local/sbin/xl2tpd -C /etc/xl2tpd/l2tp-control
/usr/local/sbin/xl2tpd -C /etc/xl2tpd/xl2tpd.conf
</pre>
</pre>

Revision as of 12:57, 21 May 2014

Initial Config

#!/bin/sh
sysctl -p
iptables-restore < /root/scripts/iptables-restore

Finalized Config

#!/bin/sh
sysctl -p
/sbin/iptables-restore < /root/scripts/iptables-restore
/bin/bash /root/scripts/qos.reset.sh
/bin/bash /root/scripts/qos.sh
/usr/local/sbin/ipsec setup start
/usr/local/sbin/xl2tpd -C /etc/xl2tpd/xl2tpd.conf