Help!! When I connect to l2tp server i don't have access to internet
-
When I connect thought l2tp VPN I can see that my PC take the correct address but i don't have access to the internet.
-
Please do not spam every section with the same question.. I have deleted your other threads.. This seems like the most appropriate section.
I take it your vpn into pfsense? Via L2TP server? You need to provide a bit more info. Can you ping say the lan side IP once you have connected?
Don't get many people using L2TP server - I can not recall if have even seen a question about it ;)
-
@johnpoz Yes I'm using pfense as l2tp VPN server. While connected, I can ping LAN devices but I lose the Internet on the device I’m connecting with. I assume it is a rule I’m missing but can’t figure out what I need to change. Can anyone point me in the right direction?
-
What rules do you have setup for the l2tp? Also I believe that using the vpn connection as your connection for internet, ie the default gateway would be done on the client.
And you would also need to make sure that outbound nat allows for natting your l2tp network.. So if you have say changed from auto to manual, the outbound nat wouldn't be created.
-
@johnpoz said in Help!! When I connect to l2tp server i don't have access to internet:
What rules do you have setup for the l2tp? Also I believe that using the vpn connection as your connection for internet, ie the default gateway would be done on the client.
And you would also need to make sure that outbound nat allows for natting your l2tp network.. So if you have say changed from auto to manual, the outbound nat wouldn't be created. -
You don't need any of those.. When you create l2tp server the nat for your outbound nat is auto added to the automatic rules.
What rules did you put on the actual l2tp interface rules, the interface gets created when you enable l2tp.
Also On the client did you tell it to use it for all traffic.. example on my iphone
-
-
Ok don't see any hits on that.. You sure your actually connecting ;) And did you set your client to send all traffic..
Lets see yoru logs of connection and what happens when you do a traceroute from client to some internet IP, etc.
-
@johnpoz
image from the client trying to access google -
And where is the setting that says send all traffic out the l2tp vpn?
Why not just use say ipsec or openvpn? That looks that is some router? As you client?
Do a traceroute.. showing traffic is going out the vpn to get to 8.8.8.8
-
@johnpoz Yes I'm using a TP-Link router that only supports l2tp it's why I can't use OpenVPN or IPSec.
-
@johnpoz the tplink shows me that it is connected, and it assigned the correct address that I set up in the pfsense but when I tried to go to internet I don't have a connection.
-
Put DD-WRT or OpenWRT on that TPLink then you can run OpenVPN. ;-)
-Rico
-
Yeah... I doubt that setup works.. Sniff on pfsense l2tp interface when you try and send traffic - do you see your tplink sending traffic down the connection for 8.8.8.8, I doubt it.. If it did then it would work.
Many of the tplink routers are supported by ddwrt
https://wiki.dd-wrt.com/wiki/index.php/Supported_Devices#TP-Link -
@johnpoz hi, I still having issue with the configuration. Now i try to set up pfsense in my pc with virtualbox
Hi, I need help, I'm new on pfsense. This is my configuration. I have installed the pfense in virtual box. i configured as wan an static IP address inside the range of my router netgear (192.168.0.24). I already configured the l2tp VPN, and firewall rules for this. I'm using as service provider comcast. in my netgear router i configured port forwarding with the ports of l2tp works. When i try to check the connection i have a tplink configured as l2tp and it still appears connecting and nothing happens. Please i would like any advice. -
Just use openvpn!
-
-
@johnpoz Hi I already upgrade tplink framework, but it doesn't appears the openvpn option.
-
Services > VPN
-Rico
-
@Rico I already upgrade tplink framework, but it doesn't appear the openvpn option.
-
-Rico
-
-
You flashed a wrong/small DD-WRT version without OpenVPN then.
-Rico
-
@Rico hi Thank you, how i know that? tplink tl-wr940n ver6
-
@gab-rc14 said in Help!! When I connect to l2tp server i don't have access to internet:
tplink tl-wr940n ver6
I would assume these are the lastest vesions
http://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2020/08-28-2020-r44251/tplink_tl-wr940ndv6/Which looks like you have..
I have not played with dd-wrt in many many years.. But yeah depending on your model they do sometimes have different versions that pull out features to get them to install on limited models that don't have enough ram/storage to use all of them.
I would "assume" if the latest and greatest beta doesn't have openvpn in, your make and model of router might not have enough resources to support it.
You could try OLDER versions of dd-wrt that might have enough other features not included to have openvpn support.
-
Ouch, seems like they ripped out OpenVPN for the wr940n because of only 4 MB flash.
-Rico
-
-
Or you could get a router for like $20 that has more than 4MB of ram ;)
-
@johnpoz hi. Now I have the pfsense running in my pc as vm in virtualbox. Yesterday i tried to configure the solution that you explained to me. I configured my ISP Netgear SW as bridge, but when I tried to set up the interface wan by DHCP I didn't get a correct IP. it took 0.0.0.0 and the default gateway in the range of the 192.168.0.X. I tried to configure the wan interface static, and assign it inside the range of my IP Public (73.124.X.X) when I assigned this I tried to do ping or tracertroute to 8.8.8.8 but nothing responded. Please any ideas?
-
Yeah I saw that thread.. Why are you bringing questions to another thread?
There was very competent people helping you in that thread.. I saw zero reason to chime in on something without enough info..
I never said anything about bridging anything btw.. Not sure where you got that Idea - never saw anyone mention that at all..
tplink tl-wr940 sure isn't something you would need or want to bridge its just a router.. If you want to use it as just an AP, then just turn off its dhcp and connect it to your network with one of its lan ports.
What you might want to bridge to put pfsense wan on public would be your isp gateway device, ie a modem/router combo - when you just want to use it as a modem.
What is in front of this wr940? What is the make and model of that device?
-
@johnpoz
This is my scenario, I think that it could help it to understand what is the issue that I have -
What is the ISP device in front of the tplink?? If its a cable modem and yoru going to connect a different device or router to it then it will most likely need to be rebooted
-
@johnpoz yes it is a modem. But my issue is in the pfsense configuration when i set up the netgear router in bridge mode. when I tried to set up the interface wan by DHCP I didn't get a correct IP. it took 0.0.0.0 and the default gateway in the range of the 192.168.0.X. I tried to configure the wan interface static, and assign it inside the range of my IP Public (73.124.X.X) when I assigned this I tried to do ping or tracertroute to 8.8.8.8 but nothing responded. Please any ideas?
-
Waht is that netgear??? what is the make and model.. If its some gateway device your gonig to have to get with your isp if actually supported. And your pfsense is running as VM on some laptop.. So the laptop prob grabbed your 1 public IP, etc.
-
@johnpoz netgear C300. yes when i configured my netgear as a brigde my laptop grabbed an IP public, but when i tried to configure wan interface trough dhcp, it shows as 0.0.0.0.