OpenVPN - Internet won't work
-
@Cry:
When you connect, what does your client log show? What is the default gateway on the client after you connect?
Client log in attachement.
-
That log shows the new route being added, so how about providing the output of netstat -rn after the VPN tunnel is established to confirm that.
Also, does your web browser have a proxy set? If so you'll need to unset it to browse using your VPN.
-
@Cry:
That log shows the new route being added, so how about providing the output of netstat -rn after the VPN tunnel is established to confirm that.
Also, does your web browser have a proxy set? If so you'll need to unset it to browse using your VPN.
Output for netstat -rn in attachement.
Thanks for helping :)
-
Switch to manual outbound NAT and add a rule like the one that shows up for LAN that matches the subnet your OpenVPN clients will come from.
-
Switch to manual outbound NAT and add a rule like the one that shows up for LAN that matches the subnet your OpenVPN clients will come from.
I already have a rule like that, Or I misunderstand you?
-
Ah, I missed that the first time.
What IP scheme is on the local LAN network to the client? 192.168.1.x would be very common to have overlap and cause other problems. It may not be the case this time, but it will be a problem eventually.
I see you have:
push "redirect gateway";Change that to:
push "redirect-gateway def1";See if that makes a difference.
-
Ah, I missed that the first time.
What IP scheme is on the local LAN network to the client? 192.168.1.x would be very common to have overlap and cause other problems. It may not be the case this time, but it will be a problem eventually.
Address pool for OpenVPN Server 192.168.200.0
Addres pool for my local connected devices are 192.168.1.0 - 192.168.1.100I see you have:
push "redirect gateway";Change that to:
push "redirect-gateway def1";See if that makes a difference.
No difference
Maybe i found whats wrong. When I typed in ipconfig /all in command prompt i saw that there was no default/standard gateway.
Beskrivning . . . . . . . . . . . : TAP-Win32 Adapter OAS
Fysisk adress . . . . . . . . . . : 00-FF-13-2F-C8-02
DHCP aktiverat. . . . . . . . . . : Ja
Autokonfiguration aktiverat . . . : Ja
Länklokal IPv6-adress . . . . . . : fe80::60c6:64fb:43b6:3e99%17(Standard)
IPv4-adress . . . . . . . . . . . : 192.168.200.6(Standard)
Nätmask . . . . . . . . . . . . . : 255.255.255.252
Standard-gateway. . . . . . . . . :
DHCP-server . . . . . . . . . . . : 192.168.200.5
DNS-servrar . . . . . . . . . . . : fec0:0:0:ffff::1%1Still have problem :/
-
That doesn't really matter quite so much. The output of "route print" from a command prompt would be more informative about routes and gateways.
-
That doesn't really matter quite so much. The output of "route print" from a command prompt would be more informative about routes and gateways.
Okay, Route print in a attachment.
-
DNS-servrar . . . . . . . . . . . : fec0:0:0:ffff::1%1
Looks like your client is using an IPv6 address for DNS, that's not going to get trough the VPN tunnel since pfSense by default drops IPv6 traffic.
-
@kpa:
DNS-servrar . . . . . . . . . . . : fec0:0:0:ffff::1%1
Looks like your client is using an IPv6 address for DNS, that's not going to get trough the VPN tunnel since pfSense by default drops IPv6 traffic.
I tried to turn it off without any difference. I did it by go to Start > Network > Interface (TAP-VPN) and properties then disable ipv6
Edit: I think that all ports works fine except 80. I can play games like Trackmania over internet. But i can't play it without vpn. Somthing wrong with port 80.