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

Routing/Excluded networks option does NOT work at all #1761

Open
birdie-github opened this issue Sep 24, 2024 · 3 comments
Open

Routing/Excluded networks option does NOT work at all #1761

birdie-github opened this issue Sep 24, 2024 · 3 comments
Labels
moreinforationneeded This issue needs more information from the submitter

Comments

@birdie-github
Copy link

birdie-github commented Sep 24, 2024

This ticket was initially titled: "Trying to use OpenVPN via an SSH Socks Proxy doesn't work"

I will provide all the necessary information, but first, I'd love you to try to reproduce it on your end because it could be a bug in a different application, not necessarily in OpenVPN.

My setup:

  • Some popular VPN provider
  • OpenVPN 0.7.51
  • ConnectBot 1.9.10
  1. In ConnectBot I create an SSH connection to IP 1.2.3.4 and for this host (right click the connection, click "Edit Port Forwards", create a "Dynamic (SOCKS)" connection, source port 1080/8080/whatever you like, over 1024).
  2. In OpenVPN I create a connection to my VPN provider:
  • Server: vpnprovider.com port XXX, protocol:TCP
  • Proxy: Socksv5, server address: localhost, port 1080/8080/whatever (the same as in the previous step)
  • In Routing under IPv4 I add 1.2.3.4/32 to Excluded Networks.

So, here's what's going on:

  1. In ConnectBot I connect to 1.2.3.4 with Dynamic (SOCKS) forwarding
  2. I initiate a new connection in OpenVPN

At this point the connection to 1.2.3.4 in ConnectBot gets lost/reset and nothing works.

I wonder where the issue could be. Maybe I'm doing something wrong.

@birdie-github birdie-github changed the title Trying to use OpenVPN via an SSH Socks Proxy doesn't work Routing/Excluded networks option does NOT work at all Dec 2, 2024
@schwabe schwabe added the moreinforationneeded This issue needs more information from the submitter label Dec 4, 2024
@schwabe
Copy link
Owner

schwabe commented Dec 4, 2024

Sorry replying so late to the ticket but can you add the log from in the app to see if there is something in the log that would explain this?

@birdie-github
Copy link
Author

From the log:

socks_proxy_server = '[UNDEF]'
socks_proxy_port = '[UNDEF]'

The app simply ignores my socks v5 proxy settings:

settings

I've no idea what to do.

@schwabe
Copy link
Owner

schwabe commented Dec 5, 2024

Please give the full log. The proxies are handled via management interface and NOT via the config that is printed on startup like you quoted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
moreinforationneeded This issue needs more information from the submitter
Projects
None yet
Development

No branches or pull requests

2 participants