This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /bin/lib.sh

Parent Directory Parent Directory | Revision Log Revision Log

Revision 571 - (show annotations)
Thu Sep 11 13:51:22 2014 UTC (9 years, 7 months ago) by dpavlin
File MIME type: application/x-sh
File size: 352 byte(s)
masquarade 10.60.4.x network

1 #!/bin/sh -x
3 sudo modprobe 8021q
4 sudo vconfig add eth0 63
5 sudo ifconfig eth0.63 netmask up
6 sudo iptables -t nat -A POSTROUTING -s -o eth0 -j MASQUERADE
8 sudo ifconfig virtual netmask up
9 sudo iptables -t nat -A POSTROUTING -s -o eth0 -j MASQUERADE
11 exec sudo ./bin/start.sh


Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26