OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Routing for ports and ranges
« previous next »
  • Print
Pages: [1]

Author Topic: Routing for ports and ranges  (Read 2542 times)

Ralf_s

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Routing for ports and ranges
« 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: Routing for ports and ranges
« Reply #1 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.
Logged

Ralf_s

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: Routing for ports and ranges
« Reply #2 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
« Last Edit: November 12, 2016, 05:13:50 pm by Ralf_s »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Routing for ports and ranges
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2