You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and it worked . I can connect to this vpn server from another machine and get to the internet through the server's default internet interface enp4s0f2 .
but now I want the wireguard client get to the internet through server's shadowsocks-rust local-tun ( 10.255.0.1 tun0 ), I googled a bit , modified the wireguard server conf like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I set up a wireguard vpn server ( interface wg0 ) on my debian 12 laptop , the wireguard server conf is something like this:
and it worked . I can connect to this vpn server from another machine and get to the internet through the server's default internet interface enp4s0f2 .
but now I want the wireguard client get to the internet through server's shadowsocks-rust local-tun ( 10.255.0.1 tun0 ), I googled a bit , modified the wireguard server conf like this:
and did some policy routing like this:
then the wireguard client failed to reach the internet . 'tcpdump -i wg0' shows nothing , 'tcpdump -i tun0' only shows this:
'192.168.1.25' is the client's lan ip . what went wrong here , anybody has any suggestion ?
Beta Was this translation helpful? Give feedback.
All reactions