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

adding static routes for a network so it can see the internet

Scheduled Pinned Locked Moved Routing and Multi WAN
6 Posts 3 Posters 3.2k 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.
  • R
    robina80
    last edited by robina80 Nov 18, 2018, 5:32 PM Nov 18, 2018, 5:30 PM

    hi all,

    i swear pfsense was a lot easier than opnsense adding static routes to see other networks on my vlan switch

    im probably going to revert back to pfsense!!! :)

    im trying to add a static network so that network gets internet access

    the static network im trying to add is 172.17.1.1/24
    my gateway is 10.100.1.253
    my vm is 172.17.1.1
    opnsense ip is 10.100.1.254
    my windows pc is 10.100.1.5

    on my opnsense router i can ping my vm and my vm can ping my windows pc so my interlanning network works but i cant get my vm to ping 8.8.8.8

    i attach pictures and im wondering if anyone of you can help as i feel im doing everything right

    https://i.postimg.cc/SRV0QyqW/alias.png
    https://i.postimg.cc/bwZX8c5t/routes.png
    https://i.postimg.cc/ZnbgM130/rules.png

    thanks,
    rob

    1 Reply Last reply Reply Quote 0
    • D
      Derelict LAYER 8 Netgate
      last edited by Derelict Nov 18, 2018, 5:32 PM Nov 18, 2018, 5:31 PM

      You're asking for help on opnsense? Here? Why?

      Nobody here is going to know anything about the problems in that area on opnsense.

      Chattanooga, Tennessee, USA
      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
      Do Not Chat For Help! NO_WAN_EGRESS(TM)

      R 1 Reply Last reply Nov 18, 2018, 5:33 PM Reply Quote 0
      • R
        robina80 @Derelict
        last edited by robina80 Nov 18, 2018, 5:40 PM Nov 18, 2018, 5:33 PM

        @derelict i thought that aswell worth a shot

        you made my mind up, going to reload pfsense on my apu machine

        but normally all i do in pfsense is the following

        add a gateway for my vlan switch ie my vlan switch ip on the same subnet
        add a static route and set the gateway as the to the switch ip
        add an alias rule for my new network
        edit the network rules and add source to any so this new network can talk to toher nertworks

        1 Reply Last reply Reply Quote 1
        • R
          robina80
          last edited by robina80 Nov 19, 2018, 11:45 PM Nov 19, 2018, 11:37 PM

          sorted

          i deleted all the gateways/routes on the web and i added it via ssh

          route add -net 172.17.1.0/24 10.100.1.253

          i also added a manual outbound NAT rule for this new network and added a LAN rule for this network

          1 Reply Last reply Reply Quote 0
          • P
            pissenlit
            last edited by Jun 14, 2019, 5:07 AM

            Hi! I would be happy to have the details of outbound & lan rules you added (I have similar issue)

            1 Reply Last reply Reply Quote 0
            • D
              Derelict LAYER 8 Netgate
              last edited by Jun 14, 2019, 5:09 PM

              Locking.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received