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

Annotation of /bin/lib.sh

Parent Directory Parent Directory | Revision Log Revision Log

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

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


Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26