OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: Ralf_s on November 08, 2016, 09:43:25 am

Title: Routing for ports and ranges
Post by: Ralf_s on November 08, 2016, 09:43:25 am
Hi,

I'm trying to route a range of ip adresses from the internal lan to a separate content filter/web protection. The routing is only needed for port 80 and 443.
In the GUI I only found to create rules for complete networks and all ports.

How can I realise this ruleset?

Ralf
Title: Re: Routing for ports and ranges
Post by: franco on November 08, 2016, 09:31:19 pm
You are probably talking about redirection of ports for transparent proxying?

The Firewall: NAT: Port Forward tab allows you to configure this. It's what we also use for our on-board proxy.
Title: Re: Routing for ports and ranges
Post by: Ralf_s on November 12, 2016, 05:03:33 pm
Hi Franco,

sorry about my late reply. At the first step, I tried to route the internal net to an internal host. The result for HTTP should a loop and no internet connection. But this also doesn't work. see screenshot. The second step is to route only a range of the internal network.

The result should be:
- all traffic for a range of the internal network (192.168.101.30-100) for port 80 and 443 should routed to 192.168.101.18.

Until now I'm using Sonicwall and I've realized this request by a routing rule.

maybe you could help

Ralf