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

how to connect multiple sub tunnel in one port. #5

Open
rishabhsingh2 opened this issue Dec 2, 2020 · 7 comments
Open

how to connect multiple sub tunnel in one port. #5

rishabhsingh2 opened this issue Dec 2, 2020 · 7 comments

Comments

@rishabhsingh2
Copy link

server side :
[l1r1]
bindhost = "192.168.aa.aa"
bindport = 32108

[l1r2]
bindhost = "192.168.bb.bb"
bindport = 32108

[l2r1]
bindhost = "192.168.aa.aa"
bindport = 32108

[l2r2]
bindhost = "192.168.bb.bb"
bindport = 32108

client side:
[l1r1]
bindhost = "192.168.xx.xx"
bindport = 5080
remotehost = "192.168.aa.aa"
remoteport = 32108
[l1r2]
bindhost = "192.168.xx.xx"
bindport = 5081
remotehost = "192.168.bb.bb"
remoteport = 32108
[l2r1]
bindhost = "192.168.yy.yy"
bindport = 5082
remotehost = "192.168.aa.aa"
remoteport = 32108
[l2r2]
bindhost = "192.168.yy.yy"
bindport = 5083
remotehost = "192.168.bb.bb"
remoteport = 32108

i have write this type in both side but sub tunnel is not created.
how to connect ?

@markfoodyburton
Copy link
Owner

in the server side, you need to bind the host and port. On the client side you need the remote host and port (and they must all match), you should not have 'bind host/port' on the client side. You will probably need an up/down script too.

@rishabhsingh2
Copy link
Author

yes , server side i have bind the host and port . and what to do on client side ?
in client side which host and port are bind?
what make changes in up/down script ?

@markfoodyburton
Copy link
Owner

you should have remotehost/port (ONLY) on client side.
The updown script sets up the device etc - there is one installed by default, mostly it should work for you. You mayweed to sort out routing etc. Good luck.

@rishabhsingh2
Copy link
Author

yes , client side only give remotehost/port but server side not up all sub tunnels.

@markfoodyburton
Copy link
Owner

is your problem with the tunnel or the device?

@rishabhsingh2
Copy link
Author

yes problem in sub tunnels.

@markfoodyburton
Copy link
Owner

use verbose to see what's happening.

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

2 participants