OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • NAT specific IPs from WAN ip address space
« previous next »
  • Print
Pages: [1]

Author Topic: NAT specific IPs from WAN ip address space  (Read 2152 times)

jambo58

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
NAT specific IPs from WAN ip address space
« on: June 25, 2017, 03:50:48 pm »
I have a slash /28 range of IPs and i want to NAT some of these IPs to LAN hosts.

lets say the range is 111.10.10.130-142 usable.

Ive got the OPNSENSE WAN configured with 111.10.10.142, upstream gateway is 111.10.10.129. ping to google and internet works from PFsense and from the LAN hosts

lets say i want NAT 111.10.10.141 to 10.19.10.112

ive tried everything and im at a loss.. its just not working

Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6299
  • Karma: 434
    • View Profile
Re: NAT specific IPs from WAN ip address space
« Reply #1 on: June 25, 2017, 05:12:12 pm »
Under Firewall go to Virtual IPs and add it as a VIP, then add the nat
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

bartjsmit

  • Hero Member
  • *****
  • Posts: 1538
  • Karma: 166
    • View Profile
Re: NAT specific IPs from WAN ip address space
« Reply #2 on: June 25, 2017, 05:32:54 pm »
Best to use a 1:1 NAT to ensure that the firewall on the other end can keep state; i.e. the source IP of your NAT-ed server matches its destination IP

Bart...
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • NAT specific IPs from WAN ip address space
 

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