peacey / split-vpn

A split tunnel VPN script for Unifi OS routers (UDM, UXG, UDR) with policy based routing.
GNU General Public License v3.0
817 stars 56 forks source link

cannot ping/curl from the client #208

Open git-gnan opened 9 months ago

git-gnan commented 9 months ago

Here is my wg0.conf

[Interface] Address = 10.91.188.113 PrivateKey = <....> PostUp = sh /etc/split-vpn/vpn/updown.sh %i up PreDown = sh /etc/split-vpn/vpn/updown.sh %i down Table = 101

[Peer] PublicKey = <....> Endpoint = 84.247.116.119:1337 AllowedIPs = 0.0.0.0/1 PersistentKeepalive = 25

my vpn.conf (only the chnaged values)

FORCED_SOURCE_INTERFACE="" FORCED_SOURCE_IPV4="192.168.0.135 192.168.0.111" FORCED_SOURCE_IPV6="" FORCED_SOURCE_MAC=""

DNS_IPV4_IP="192.168.0.83" DNS_IPV4_PORT=53 DNS_IPV4_INTERFACE="" VPN_ENDPOINT_IPV4="84.247.116.119" VPN_ENDPOINT_IPV6=""

from the client on 192.168.0.135, i am not able to ping google or other websites, however i can curl ipinfo.io to get the ip (of the connection), other api endpoints, I cannot curl either...