remote.it Community Forum

VPN Server Configuration

I have GL-MV1000 wireguard vpn server configured to work on public IP, as soon as I move to cgnat ip and I try to access it with the remoteit. It does not work thru proxy. I have remoteit version 4.13.6 installed on this router. In addition, ssh http services are working fine thru remoteit. Looking for help on finding the solution. thanks, Piotr

1 Like

Since SSH and http connections are working, this suggests that the configuration of the remoteit Service you are using with Wireguard is not correct or somehow your use of the connection information in the Wireguard client is not correct.

Can you provide more detail please?

Hello Gary,
Can you tell me what should i be looking on the remotit server side? If i move this router to a public ip and set port forwarding it is working all fine, but as soon as i move behind nat, it does not work thru remoteit. I have verified proxy connection address and port multiple times and it seeams there is an issue on the remoteit server side. Router accepts on port 51820 either udp or tcp.

these are my settings:

  • connection name set to router name

  • local port set to 30002

  • lunch type to URL

  • Auto Launch is ON

  • URL is http://[host]:30002

  • Idle timeout 15minutes

  • Routing is peer to peer with proxy failover

  • Local Network Sharing is Off

  • Proxy connection is Off

  • Connection Logging is Off

  • Remote Host Address is 127.0.0.1

forgot to attached a log file.

Hello Gary,
Can you tell me what should i be looking on the remotit server side? If i move this router to a public ip and set port forwarding it is working all fine, but as soon as i move behind nat, it does not work thru remoteit. I have verified proxy connection address and port multiple times and it seeams there is an issue on the remoteit server side. Router accepts on port 51820 either udp or tcp.

these are my settings:

  • connection name set to router name

  • local port set to 30002

  • lunch type to URL

  • Auto Launch is ON

  • URL is http://[host]:30002

  • Idle timeout 15minutes

  • Routing is peer to peer with proxy failover

  • Local Network Sharing is Off

  • Proxy connection is Off

  • Connection Logging is Off

  • Remote Host Address is 127.0.0.1

8000017F7E006C19_2021_12_30T03_10_50Z.log (2.5 KB)

Is that the complete connection log?

Please show the Service Details page, e.g.

image

Also please show me how you have entered the connection details into your VPN client.

Please see attached, screen shots of the connection page.

Piotr

yes, it appears it is a complete log

What is the routing option you are using? (It’s under “Options” on the Service details view).

image

Try “peer to peer only” and “proxy only”. What is the result?

Can you SSH to this device using remoteit?

Get to a console on the device and run the following commands:

connectd -n
connectd -nat

What is the result?

There’s a possibility that peer to peer connections won’t work here, in which case UDP will not work. If that is the case, then you can try configuring Wireguard to use TCP instead and then you’d need to configure a Service for TCP instead of UDP/Wireguard (use the “TCP” option and enter the desired port).

Capture4

Please see attached screen shots of both request. Router is configured to accepted either tcp or udp port.

It looks like you typed in connected, not connectd.

Listen port in Wireguard configuration looks like 46939?

Whereas the remoteit port is set to Wireguard’s default 51820.

These should probably match.