Jump to content
Not connected, Your IP: 3.133.112.119
Sign in to follow this  
k83mIbgZ

how to use Air openvpn with pppoe-standalone toplogy

Recommended Posts

hi,

 

I am looking for any advice on how to set up linux firewall for pppoe connected computer on AirVPN.

 

I know of the linux firewall rules recommended by Air, but the extra device (ppp0) confuses.

 

My setup is

local iface= eth0 

pppoe conxn = ppp0   (masquerades outbound to internet and forwards to eth0).

 

Basically lan setup with pppoe on one computer.

 

How do I add tun+ to this setup? 

Which is the external interface ppp0 or tun0?  If ppp0 is external iface then can I still masquerade tun+?

Do these rules still apply? 

FORWARD -i  tun+  -o eth0 -j ACCEPT

FORWARD -i eth0 -o tun+ -j ACCEPT

 

Thanks in advance.

          

Share this post


Link to post

The Airvpn recommended iptables rules I am referencng is under "Prevent leaks with Linux and iptables" in the Howto subforum.

Share this post


Link to post

Hello!

 

For the readers (the OP has been already informed via ticket) with ppp we have a very special situation:

 

 

PPP Anomaly

For some reason when PPP connects and is the sole outbound gateway the routing table works but the PPP default route has only the UH flags and no ‘G’ flag (for gateway).  When OpenVPN attempts to change default gateway it is unable to detect the PPP device due to the missing flag.

 

Please see http://blog.wsensors.com/2011/04/openvpn-and-ppp-on-linux-vpn-traffic-forwarding-default-gateway-fix/ where you will find a manual fix as well.

 

Kind regards

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...