daily pastebin goal
38%
SHARE
TWEET

Untitled

a guest May 5th, 2015 228 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ipsec up nat-t
  2. vconfig add eth0 10
  3. ifconfig eth0.10 10.10.10.1  netmask 255.255.255.0 broadcast 192.168.1.255 up
  4. iptables -t nat -A POSTROUTING -s 1.1.1.0/24 -j SNAT --to-source 192.168.0.20
  5. vconfig add eth0 30
  6. ifconfig eth0.30 30.30.30.1  netmask 255.255.255.0 up
  7. vconfig add eth0 20
  8. ifconfig eth0.20 1.1.1.1 netmask 255.255.255.0 up
RAW Paste Data
Top