Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How work the NAT: 1:1 ? help me guys!

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      inferenza
      last edited by

      Hi guys,
      on my router I have an IP range from 192.168.1.1 to 192.168.1.10 (WAN) but only the ip 192.168.1.2 is a pubblic IP that answer to this IP 83.23.44.???.

      Example router IP:
      192.168.1.1 dynamic pubblic IP
      192.168.1.2 ***** Static IP ***** 83.23.44.???.
      192.168.1.3 dynamic pubblic IP
      192.168.1.n dynamic pubblic IP
      192.168.1.10 dynamic pubblic IP

      Firewall:
      WAN 192.168.1.1
      LAN  10.100.1.254

      In my configuration I have the external IP 192.168.1.1 (WAN) and the internal IP 10.100.1.254 (LAN).
      I need to assign this internal host with the IP 10.100.1.1 to the WAN IP using the IP 192.168.1.2 to be reacheable from the external, all other PCs in the LAN from 10.100.1.10 to 10.100.1.250 don't need to reacheable from the external IP.
      Using all other external IP 192.168.1 and 192.168.1.3-10 (router) I don't have always the same pubblic IP, this change all time every days, this is very good for many my applications.

      NAT 1:1
      Interface      External IP         Internal IP        Description
      WAN          192.168.1.2       10.100.1.1        HTTPS server

      I try to setup the 1 to 1 NAT, I have setup the external IP on 192.168.1.2 and the internal to 10.100.1.1. but dosen't  work, so I'm not an expert, there is any one that can help me about.

      Many thx to all

      inferenza

      1 Reply Last reply Reply Quote 0
      • chpalmerC
        chpalmer
        last edited by

        I believe you would need to make 192.168.1.2 a virtual IP on your wan…

        make your wan interface 192.168.1.1 and add a virtual address...

        Triggering snowflakes one by one..
        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

        1 Reply Last reply Reply Quote 0
        • I
          inferenza
          last edited by

          Hi chpalmer,
          great and many thx I'll try today.
          inferenza

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.