Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
agaritaf
Explorer

SNX Connect from Docker container is not posible on Ubuntu 20.04

Hello. I'm using the snx_install.sh for linux build 800008074 to connect VPN.

In Ubuntu 18.04 I had no problems to rich the network inside docker containers, but now in Ubuntu 20.04 is not possible.

I was investigating a lot and people say is because of scope, in 18.04 is global and 20.04 is 247.

 

Ubuntu 18.04:

$ snx -s my-company-server -u my-user

$ ip addr

3: tunsnx: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
link/none
inet 192.168.252.110 peer 192.168.252.109/32 scope global tunsnx
valid_lft forever preferred_lft forever
inet6 fe80::e63b:56b1:586b:67d5/64 scope link stable-privacy
valid_lft forever preferred_lft forever

 

Ubuntu 20.04:

$ ip addr

152: tunsnx: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
link/none
inet 192.168.252.110 peer 192.168.252.109/32 scope 247 tunsnx
valid_lft forever preferred_lft forever
inet6 fe80::da04:5751:cc8d:e0c2/64 scope link stable-privacy
valid_lft forever preferred_lft forever

 

I've tried everything in docker, change version, reinstall, and nothing, so I guess is something with the client. I don't know what to do.

Please help me.

 

0 Kudos
2 Replies
PhoneBoy
Admin
Admin

Ubuntu 20.04 doesn’t formally support SNX as far as I know.
Don’t know that it was ever tested in Docker either.

pavel7002007
Explorer

This is a solution here, i have ubuntu 20.04 and it helped me
https://github.com/docker/for-linux/issues/288

I am using script from here https://github.com/docker/for-linux/issues/288#issuecomment-830668045