Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to set up a VPN connection on my RPi, but always times out. I have a DDNS setup and the public IP address is updated using ddclient. I have a network machine connected to eth0 and a 3g dongle (eth1) connected via a powered usb hub, and have tested the settings with a normal router with port forwarding and all worked.

Unfortunately I need to put the Pi in a location where normal Internet connections are not available (hence the 3g dongle). The Pi seems to ignore or is unaware of any incoming connections when I try to connect with my pc. It may just be an iptables command that I have not yet worked out or some kind of routing issue. Can anyone help?

share|improve this question
    
Unfortunatly due to 3g network providers using NAT, you public address is shared by other 3g users on the same network. Your wan ip address you are seeing is a internal address from your provider if i am correct? – user490753 Aug 31 '15 at 22:15

Maybe iptables might be blocking 3G key incomming traffic. You set up the wired schema but not the 3G one. If it doesn't answer in 3G, it has something to do with your permission/iptables. Maybe check /etc/host.allow also.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.