Jump to content

Port Forwarding

Go to solution Solved by Lurick,
Just now, Megladon said:

The problem is it is 2 different subnets, I know how to port forward from the WAN router to the Untangle PC that's easy but what do I do from there to I Port Forward it to the unmanaged switch, the Wifi router or the server?

So if it gets to the firewall without issue then it should know how to reach everything else.

For the firewall to reach both subnets you'll need a route pointing to the second router and the subnet that will sit behind it.

On that second router, a default route pointing to the firewall should be enough.

I've been trying to figure out how to port forward to my server but can't seem to figure it out.

Configuration:

Internet->WAN Router->Untangle Linux Firewall->Unmanaged Switch->Wifi AP Router

At the moment the server is connected to the WAN Router but I want to configure it to be connected to the Unmanaged Switch.

 

The WAN Router is on 192.168.2.x subnet while the Wifi AP Router is on 192.168.1.x

I want be able to reach the server from the internet and from the Wifi AP Router.

Link to comment
https://linustechtips.com/topic/814570-port-forwarding/
Share on other sites

Link to post
Share on other sites

It varies with router models, but most port forwarding tutorials should work.

 

https://www.howtogeek.com/66214/how-to-forward-ports-on-your-router/

 

Quote or tag me( @Crunchy Dragon) if you want me to see your reply

If a post solved your problem/answered your question, please consider marking it as "solved"

Community Standards // Join Floatplane!

Link to comment
https://linustechtips.com/topic/814570-port-forwarding/#findComment-10219348
Share on other sites

Link to post
Share on other sites

2 hours ago, Lurick said:

The problem is it is 2 different subnets, I know how to port forward from the WAN router to the Untangle PC that's easy but what do I do from there to I Port Forward it to the unmanaged switch, the Wifi router or the server? Because its not just like I can Port Forward from the WAN router to the Server since the server is on a different subnet.

 

And how to physically change the settings I understand but to which adress should I Port Forward

Link to comment
https://linustechtips.com/topic/814570-port-forwarding/#findComment-10222208
Share on other sites

Link to post
Share on other sites

Just now, Megladon said:

The problem is it is 2 different subnets, I know how to port forward from the WAN router to the Untangle PC that's easy but what do I do from there to I Port Forward it to the unmanaged switch, the Wifi router or the server?

So if it gets to the firewall without issue then it should know how to reach everything else.

For the firewall to reach both subnets you'll need a route pointing to the second router and the subnet that will sit behind it.

On that second router, a default route pointing to the firewall should be enough.

Current Network Layout:

Current Build Log/PC:

Storage Server Setup:

 

Prior Build Log/PC:

Link to comment
https://linustechtips.com/topic/814570-port-forwarding/#findComment-10222215
Share on other sites

Link to post
Share on other sites

I had the subnets wrong way around in my original post but thanks I firstly port forwarded from WAN router to firewall then verified it. I then simply Port forwarded to 192.168.2.30(server) and it worked. Well

10 hours ago, Megladon said:

I wish my setup was this easy.

Wasn't quite THAT easy but not particularly hard as well. Thing is I didn't understand how an unmanaged switch worked but that I researched. And all the other port forward rules  the WAN router was set to 192.168.1.3(no idea) so I initially did that as well instead off just port forwarding to 192.168.1.201(firewall) I did that as I didn't understand and still don't why 192.168.1.3 I thought that there was some hidden reason for it,only vox was forwarded to 192.168.1.1. SO IT WORKS!!

                                         \/ this forum's editor

And on a sidenote the editor is for some reason highlighting the previous text so I am not able to Fix any mistakes in this post without rewriting everything after that, any idea why this is suddenly happening, its the 2nd time.

 

Thanks for the guiding

Link to comment
https://linustechtips.com/topic/814570-port-forwarding/#findComment-10223606
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×