Can't access to server (need routing?)
-
After connect VPN, I can ping to local gateway (172.18.0.1). But, I can't ping or access my server (172.18.0.254). Why, anyone can help me???
This is my pfsense configuration:
This is my ubuntu server:
-
Possibly the servers firewall blocks access from outside its subnet.
Since you're running the OpenVPN server on the Ubuntu servers default gateway, there is no need to add a route for the VPN tunnel network.
-
@viragomann firewall WAN or LAN?
-
@ontzuevanhussen
That one on the Ubuntu server. -
@viragomann already add rule on my LAN network, is tha true?
-
@ontzuevanhussen
A simple test: on pfsense go to Diagnostic > Ping
Try to ping the Ubuntu servers IP.
Then change the source to something else like WAN or OpenVPN. Ping again. -
@viragomann Ping to my ubuntu server
Ping to my client VPN:
-
@ontzuevanhussen
Not ping the VPN!
Ping the Ubuntu and set the source to OpenVPN! -
@viragomann Ping from my VPN client:
Ping from ubuntu server to gateway and vpn client:
-
@ontzuevanhussen
Ok. I give it up. -
@viragomann :(
-
@viragomann Like this?
-
Request timeout for icmp_seq 266
76 bytes from xxx.xxx.xxx.xxx: Communication prohibited by filter
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 5400 7348 0 0000 40 01 464f 10.0.10.2 172.18.0.254 -
@viragomann Ok, done. Now everything works normally.
Because of the rules in the VPN tab:
Why did you give up? why you so easy to give up???