To bypass most firewalls I had been using openVPN on my macbook via tunnelblick tunneled through shadowsocks. Shadowsocks-libev was hosted on my raspi on port 443 and openVPN using PIVPN on port 80 tcp. That had been working fine. Then I bought an actual server and installed proxmox on it. I wanted to stop using my raspi so I had attempted to setup my VPN from scratch on the Proxmox host. It hangs everytime and the ss server seems to be the issue as openVPN works without it.
My shadowsocks config file is
{
"server":["0.0.0.0"],
"mode":"tcp_and_udp",
"server_port":443,
"local_port":1086,
"password":"xxxxxxxxx",
"timeout":300,
"method":"chacha20-ietf-poly1305"
}
and I have obviously copied this into the client on my macbook for shadowsocksX-NG.
When using
curl -x socks5h://127.0.0.1:1086 http://httpbin.org/get
I get met with:
curl: (52) Empty reply from server
and then when starting openVPN to tunnel it, it gets stuck on
024-10-25 22:30:25.792060 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:1086
2024-10-25 22:30:25.792149 Socket Buffers: R=[131072->131072] S=[131072->131072]
2024-10-25 22:30:25.792170 Attempting to establish TCP connection with [AF_INET]127.0.0.1:1086
2024-10-25 22:30:25.792182 MANAGEMENT: >STATE:1729855825,TCP_CONNECT,,,,,,
2024-10-25 22:30:25.792523 TCP connection established with [AF_INET]127.0.0.1:1086
2024-10-25 22:30:25.792759 TCPv4_CLIENT link local: (not bound)
2024-10-25 22:30:25.792777 TCPv4_CLIENT link remote: [AF_INET]127.0.0.1:1086
2024-10-25 22:30:25.792806 MANAGEMENT: >STATE:1729855825,WAIT,,,,,,
2024-10-25 22:30:25.800497 MANAGEMENT: CMD 'hold release'
2024-10-25 22:30:25.811481 event_wait : Interrupted system call (fd=-1,code=4)
2024-10-25 22:30:25.811782 SIGTERM[hard,] received, process exiting
2024-10-25 22:30:25.811804 MANAGEMENT: >STATE:1729855825,EXITING,SIGTERM,,,,,
2024-10-25 22:30:26.169536 *Tunnelblick: Expected disconnection occurred.
which continues till I disconnect it.
The same configuration works on my raspberry PI without such errors, and I have changed the port forwarding etc so that it forwards to my new server. I'm not sure if there's anything else I need to do for networking since I am not familiar with proxmox but I'm kinda desparate so ANY help would be GREATLY GREATLY appreciated.
My shadowsocks config file is
{
"server":["0.0.0.0"],
"mode":"tcp_and_udp",
"server_port":443,
"local_port":1086,
"password":"xxxxxxxxx",
"timeout":300,
"method":"chacha20-ietf-poly1305"
}
and I have obviously copied this into the client on my macbook for shadowsocksX-NG.
When using
curl -x socks5h://127.0.0.1:1086 http://httpbin.org/get
I get met with:
curl: (52) Empty reply from server
and then when starting openVPN to tunnel it, it gets stuck on
024-10-25 22:30:25.792060 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:1086
2024-10-25 22:30:25.792149 Socket Buffers: R=[131072->131072] S=[131072->131072]
2024-10-25 22:30:25.792170 Attempting to establish TCP connection with [AF_INET]127.0.0.1:1086
2024-10-25 22:30:25.792182 MANAGEMENT: >STATE:1729855825,TCP_CONNECT,,,,,,
2024-10-25 22:30:25.792523 TCP connection established with [AF_INET]127.0.0.1:1086
2024-10-25 22:30:25.792759 TCPv4_CLIENT link local: (not bound)
2024-10-25 22:30:25.792777 TCPv4_CLIENT link remote: [AF_INET]127.0.0.1:1086
2024-10-25 22:30:25.792806 MANAGEMENT: >STATE:1729855825,WAIT,,,,,,
2024-10-25 22:30:25.800497 MANAGEMENT: CMD 'hold release'
2024-10-25 22:30:25.811481 event_wait : Interrupted system call (fd=-1,code=4)
2024-10-25 22:30:25.811782 SIGTERM[hard,] received, process exiting
2024-10-25 22:30:25.811804 MANAGEMENT: >STATE:1729855825,EXITING,SIGTERM,,,,,
2024-10-25 22:30:26.169536 *Tunnelblick: Expected disconnection occurred.
which continues till I disconnect it.
The same configuration works on my raspberry PI without such errors, and I have changed the port forwarding etc so that it forwards to my new server. I'm not sure if there's anything else I need to do for networking since I am not familiar with proxmox but I'm kinda desparate so ANY help would be GREATLY GREATLY appreciated.