F5F Stay Refreshed Power Users Networks Use a forwarding service on a separate public server with a private VPN connection.

Use a forwarding service on a separate public server with a private VPN connection.

Use a forwarding service on a separate public server with a private VPN connection.

Pages (2): 1 2 Next
S
Spidercyber
Senior Member
673
12-21-2025, 12:16 PM
#1
Hello, I'm having trouble setting up port forwarding on my network. Since I only have a 4G connection through a 4G router and my ISP doesn't allow port forwarding over mobile networks, I tried using Hetzner Cloud's Algo to create a VPN. It worked well for the VPN setup, but I'm not sure how to handle the port forwarding myself. Any advice or alternatives would be really helpful. Thanks, Tommy Vange
S
Spidercyber
12-21-2025, 12:16 PM #1

Hello, I'm having trouble setting up port forwarding on my network. Since I only have a 4G connection through a 4G router and my ISP doesn't allow port forwarding over mobile networks, I tried using Hetzner Cloud's Algo to create a VPN. It worked well for the VPN setup, but I'm not sure how to handle the port forwarding myself. Any advice or alternatives would be really helpful. Thanks, Tommy Vange

E
ezra24rct3
Junior Member
15
12-21-2025, 12:41 PM
#2
You should redirect the VPN server on the Hertz server side. Unless it's set up to face a public IP, which would mean no action needed. They likely have an option to manage incoming or outgoing traffic. If your PC is handling the VPN as a client, you probably don't need to forward ports.
E
ezra24rct3
12-21-2025, 12:41 PM #2

You should redirect the VPN server on the Hertz server side. Unless it's set up to face a public IP, which would mean no action needed. They likely have an option to manage incoming or outgoing traffic. If your PC is handling the VPN as a client, you probably don't need to forward ports.

X
59
12-21-2025, 03:34 PM
#3
It seems like it isn't working, so I thought about doing something on the Linux server.
X
xXStar_GamerXx
12-21-2025, 03:34 PM #3

It seems like it isn't working, so I thought about doing something on the Linux server.

A
AthenasLight
Posting Freak
781
12-21-2025, 05:27 PM
#4
Ensure the VPN configuration works properly. By installing nmap for Windows and scanning your public IP, you can verify if the IPSEC port is accessible. Logs can also help confirm the VPN service is functioning correctly.
A
AthenasLight
12-21-2025, 05:27 PM #4

Ensure the VPN configuration works properly. By installing nmap for Windows and scanning your public IP, you can verify if the IPSEC port is accessible. Logs can also help confirm the VPN service is functioning correctly.

M
MightyFarquad
Junior Member
19
12-22-2025, 05:09 PM
#5
The VPN is functioning properly, allowing smooth browsing. It's a bit slow at around 50 Mbps, which shouldn't be an issue. I plan to run nmap later this evening. Also, it's using Google Public DNS; I was thinking Cloudflare's 1.1.1.1 might work better for me.
M
MightyFarquad
12-22-2025, 05:09 PM #5

The VPN is functioning properly, allowing smooth browsing. It's a bit slow at around 50 Mbps, which shouldn't be an issue. I plan to run nmap later this evening. Also, it's using Google Public DNS; I was thinking Cloudflare's 1.1.1.1 might work better for me.

T
Tuetme
Senior Member
418
12-23-2025, 10:23 AM
#6
I understand you're using this as a basic reference for setting up a GRE tunnel, but the process may vary based on your specific needs and configuration. If you decide to go with a VPN-based approach, let me know. Also, confirm whether "net.ipv4.ip_forward" is activated on the server side.
T
Tuetme
12-23-2025, 10:23 AM #6

I understand you're using this as a basic reference for setting up a GRE tunnel, but the process may vary based on your specific needs and configuration. If you decide to go with a VPN-based approach, let me know. Also, confirm whether "net.ipv4.ip_forward" is activated on the server side.

A
audi497mks
Senior Member
601
12-25-2025, 02:59 AM
#7
Your Hertz Ubuntu server hosts the VPN service, while your PC uses a VPN client to link to it. Everything seems to be functioning properly. The reason for port forwarding is likely to ensure the VPN server can accept incoming connections from your local network.
A
audi497mks
12-25-2025, 02:59 AM #7

Your Hertz Ubuntu server hosts the VPN service, while your PC uses a VPN client to link to it. Everything seems to be functioning properly. The reason for port forwarding is likely to ensure the VPN server can accept incoming connections from your local network.

V
Varix
Member
64
12-26-2025, 12:49 PM
#8
They aim to redirect traffic from the client side to a server endpoint, enabling operation of a service via a web interface.
V
Varix
12-26-2025, 12:49 PM #8

They aim to redirect traffic from the client side to a server endpoint, enabling operation of a service via a web interface.

P
PetqPqn
Member
68
12-28-2025, 08:48 AM
#9
I’ll explore using a GRE tunnel, thanks! Yes, I’ve turned on port forwarding on my Linux machine. ↓ What I need is to set up a tunnel from my local device to the Linux server, then access it from the server’s IP address.
P
PetqPqn
12-28-2025, 08:48 AM #9

I’ll explore using a GRE tunnel, thanks! Yes, I’ve turned on port forwarding on my Linux machine. ↓ What I need is to set up a tunnel from my local device to the Linux server, then access it from the server’s IP address.

B
brayden07890
Member
59
12-28-2025, 01:24 PM
#10
You don't have to set up port forwarding if the web server is set to accept connections from all local ports. Your personal VPN IP will match the server's local IP address, allowing your VPN client to connect through it. On the server side, you might need to adjust iptables so that traffic on ports 80 and 443 from the public interface is sent to the VPN interface.
B
brayden07890
12-28-2025, 01:24 PM #10

You don't have to set up port forwarding if the web server is set to accept connections from all local ports. Your personal VPN IP will match the server's local IP address, allowing your VPN client to connect through it. On the server side, you might need to adjust iptables so that traffic on ports 80 and 443 from the public interface is sent to the VPN interface.

Pages (2): 1 2 Next