SHARE
TWEET

heroes

a guest Oct 21st, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apt-get install nano
  2.  
  3. iptables -t nat -F
  4.  
  5. ifconfig check if venet0, eth0, ens3
  6. change venet0 or eth0
  7.  
  8. iptables -t nat -A POSTROUTING -s 10.8.0.0/16 -o venet0 -j MASQUERADE  
  9.  
  10. iptables -t nat -A POSTROUTING -s 10.8.0.0/16 -o venet0 -j SNAT --to-source `curl ipecho.net/plain`
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top