OPNsense Forum

English Forums => General Discussion => Topic started by: drifting on January 26, 2024, 01:31:06 pm

Title: Passthrough for Wan IP's
Post by: drifting on January 26, 2024, 01:31:06 pm
Hi, not very good at explaining, hopefully someone is able to help.
I have a range of IP addresses available from my ISP. Of which I used with a Mikrotic, it had PPPOE bridge, which allowed me to connect equipment on specific external IP addresses. My trusty old Mikrotik is really end of life, and my new fibre connection is just too fast for it.
Can I use Opnsense to do the PPPOE connection? And share / support the external wan addresses with the other devices? Whiles still using the Opnsense as my own firewall router for my local lan?

Hope that makes sense, but this is all a grey area for me.

Paul.
Title: Re: Passthrough for Wan IP's
Post by: Maurice on January 26, 2024, 02:21:02 pm
Do you statically configure these addresses directly on the hosts that use them? Or do you want to (S)NAT them?
Title: Re: Passthrough for Wan IP's
Post by: drifting on January 26, 2024, 02:44:08 pm
Do you statically configure these addresses directly on the hosts that use them? Or do you want to (S)NAT them?

Yes, that is exactly what we have been doing. Each has its own IP wan address. (All from the same range)

Thanks for the reply.

Paul.
Title: Re: Passthrough for Wan IP's
Post by: Maurice on January 26, 2024, 02:59:50 pm
Then I see no reason why this shouldn't work. It's just basic routing.
Title: Re: Passthrough for Wan IP's
Post by: drifting on January 26, 2024, 03:04:16 pm
Then I see no reason why this shouldn't work. It's just basic routing.

Could you elaborate? Or point to some info how it might be done? Very much a novice here, so any help welcome.

Paul.
Title: Re: Passthrough for Wan IP's
Post by: Maurice on January 26, 2024, 03:24:31 pm
Can't provide step-by-step instructions, sorry. Set up PPPoE as usual, see the docs. Then you could e. g. configure the public subnet on a dedicated interface which the hosts using these addresses are connected to. And make sure not to NAT these addresses. You may have to manually configure outbound NAT.

There are other ways to do it, really depends on your specific needs.
Title: Re: Passthrough for Wan IP's
Post by: drifting on January 26, 2024, 03:33:03 pm
Thank you for taking the time, will go have a play, see how far I get.

Paul.