Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Tutorials and FAQs
»
[Tutorial] Bridged Modem Access Guide
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Tutorial] Bridged Modem Access Guide (Read 7735 times)
noam5651
Newbie
Posts: 2
Karma: 3
[Tutorial] Bridged Modem Access Guide
«
on:
April 12, 2023, 10:53:34 am »
Hello everyone,
After a lot of attempts I finally managed to setup my a access to my modem over bridged network, So now Imma gonna show you how to set it up so you'll don't have to figure out by yourself
First of all we need to understand a few things:
We run our modem over one cable to the OPNsense FW WAN port.
We split our WAN (May only work with PPPoE, Haven't tested it with other options so share with me if it works)
We set it up so we would have the GUI access to our Modem.
Let's start on Modem Side
On our Modem we would need to setup the interface for our needs, for me I had the network set to subnet of 30 and an IP address of 10.10.10.10 like you see in the picture:
https://i.imgur.com/MyWeT7b.png
also I disabled all of the unwanted stuff from my modem like IGMP and DHCP cause we are not going to use it, make sure that you don't place the same IP both on the FW & the Modem cause it will not work.
Let's start on Firewall side
First of all we need to set up the same NIC as the WAN port that we use for the bridge router as shown in the picture:
https://i.imgur.com/fKmWG1b.png
As you can see I have under interface assignments two igc0, One of the is for the WAN (PPPoE) & the other for the Modem which I'll explain now how to set.
Now under interfaces we need to enable the new interface and name it however we want, I recommend Modem which will help you follow along, The settings we setup:
https://i.imgur.com/7w20dPm.png
Change the IP address to a Host IP, for example if my modem GW is 10.10.10.10/30 I'll use 10.10.10.9 for it cause our network has only 2 usable IP addresses (Our Network Address is 10.10.10.8 & Our Broadcast Address is 10.10.10.11 which mean we could only use 10.10.10.9 - 10.10.10.10).
Now we need to set NAT for our network to traffic out \ in so we could get that juicy GUI
We would go to "Firewall" -> "NAT" -> "Outbound" and we will add the following:
https://i.imgur.com/dilrRcK.png
Now for the last step which would enable the GUI!!!
we would need to go to "Firewall" -> "Rules" -> "Floating" and we will add the following:
https://i.imgur.com/yBCwUxf.png
Basically if you had copied all of my settings from before you would just need to set it up like this, if you changed some stuff adjust the settings according to your previous steps.
Glad to help and if there is any questions please feel free to ask me out
«
Last Edit: April 12, 2023, 10:56:24 am by noam5651
»
Logged
depc80
Newbie
Posts: 31
Karma: 0
Re: [Tutorial] Bridged Modem Access Guide
«
Reply #1 on:
April 22, 2023, 03:30:30 pm »
Thanks, I didn't know we can created another interface from the same port that's used for pppoe connection.
In my case, I have my LAN bridged already and the modem using the same subnet so I only need to create the interface, add to bridge and create rule allow access to Modem's IP address, protocol: TCP port 80.
I wonder if there's any tips for pppoe connection. I heard ppl create multiple virtual ip for PPPOE connection in on order to cheat their speed connection.
Logged
noam5651
Newbie
Posts: 2
Karma: 3
Re: [Tutorial] Bridged Modem Access Guide
«
Reply #2 on:
August 05, 2023, 03:59:28 pm »
I don't know about cheating your network (Sounds too good to be true).
I have a few VIPs using the same technic for routing myself to a secondary network on my LAN & also to my Docker lab which runs inside of a bridge docker VIP.
you can always create a VIP and set a route like this:
https://imgur.com/a/evCc2oo
Basically, instead of using a physical port you create a VIP and route the network through a physical port using different subnet. DO NOT FORGET TO NAT your self so traffic will flow through.
Logged
hushcoden
Hero Member
Posts: 551
Karma: 23
Re: [Tutorial] Bridged Modem Access Guide
«
Reply #3 on:
October 21, 2023, 11:46:29 pm »
@noam5651 is there a way to access to the modem GUI by using VIPs instead?
Tia.
«
Last Edit: October 23, 2023, 11:08:04 am by hushcoden
»
Logged
hushcoden
Hero Member
Posts: 551
Karma: 23
Re: [Tutorial] Bridged Modem Access Guide
«
Reply #4 on:
October 25, 2023, 11:41:46 am »
Would somebody know how to accomplish the same task by using VIP?
Tia.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Tutorials and FAQs
»
[Tutorial] Bridged Modem Access Guide