Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No routing to internet #520

Open
gerryb opened this issue Sep 4, 2024 · 7 comments
Open

No routing to internet #520

gerryb opened this issue Sep 4, 2024 · 7 comments

Comments

@gerryb
Copy link

gerryb commented Sep 4, 2024

On VPS server (Unbuntu) or on a raspberry Pi Server, I cannot get the client to route everything to the internet via wiregaurd through my servers.

I have played with NAT rules and sysctl net.ipv4.ip_forward=1 to no avail. The clients are set to forward all packets, and indeed must be doing so as the client then loses all internet connection when wireguard is started. The server is not routing or the DNS not working.

The script is otherwise excellent. I wonder if the menu options should include
"Do you want Server's LAN access?
Server only access?
Route all traffic from client to internet via this server" and configure accordingly.

Gerry

@mleku
Copy link

mleku commented Sep 5, 2024

it sounds like your firewall is preventing outbound access for the wireguard

@gerryb
Copy link
Author

gerryb commented Sep 5, 2024 via email

@DanilValiev
Copy link

Same problem, if there is a solution I would be grateful!

@eth5
Copy link

eth5 commented Sep 7, 2024

I have the same problem. Now no VPN (wire guard, openvpn) connects to the Internet. Removing wireguard from the script does not solve the problem. Only shadowsocks remains to work

@gerryb
Copy link
Author

gerryb commented Sep 7, 2024 via email

@supersidr
Copy link

@gerryb How did you fix that?

@gerryb
Copy link
Author

gerryb commented Sep 15, 2024

Got the ISP who run off server running the firwewall for my VPS to fix the firewall which was not applying firewall rule set. They still have problems with IPv6. So the issue was not routing at server end at all Wiregaud is now working on my two VPS, and I applied to my Raspberry Pi server as well. It did my own rather crude testing as a ham on these matters and my SSH socks proxy was fastest to my surprise.

Straight connection with no VPN on my fibre line gives 980Mbps. Upload and download speeds were always similar.

SocksProxy using SSH (secured; key-only authentication) connecting to my VPS server came out best to my surprise. Normally I used Seamonkey Browser to use this proxy tunnel, not all of windows. It averaged 600Mbps. When I set windows itself to use this proxy tunnel the speed was 680Mbps. uploads almot identical

SoftetherVPN with its own protocol and client 460Mbps
WireGuard 280Mbps
Open VPN 150Mbps
L2PP/IPSEC 140Mbps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants