difference between port forwarding and a virtual network bridge

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Apologies if the question seems too stupid, but I'm just starting out.



Problem



I have two network interfaces



eth0 Link encap:Ethernet HWaddr 00:04:35:00:01:21
inet addr:172.24.176.221 Bcast:172.24.255.255 Mask:255.255.0.0
inet6 addr: fe80::204:35ff:fe00:121/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20754 errors:0 dropped:2 overruns:0 frame:0
TX packets:5033 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1462452 (1.3 MiB) TX bytes:613891 (599.5 KiB)
Interrupt:27 Base address:0xb000
RX bytes:3052 (2.9 KiB) TX bytes:3052 (2.9 KiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.10.1 P-t-P:192.168.10.100 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:446 errors:0 dropped:0 overruns:0 frame:0
TX packets:293 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:33085 (32.3 KiB) TX bytes:35555 (34.7 KiB)


Need to route UDP traffic on 192.168.10.1 (ppp0) port 9500 to 172.24.176.221 (eth0) port 9500 and visa versa, i.e. route UDP traffic on 172.24.176.221 port 9500 to 192.168.10.1 port 9500.



Some context.
ppp0 is a PPP running on a serial line. The command to instantiate it is pppd -detach persist debug local noauth passive xonxoff lock dump 192.168.10.1:192.168.10.100 /dev/ttyS0 9600



I've been reading online on how to do it and it seems I either need to make a virtual network bridge or I need to setup port forwarding.



My question is what exactly I need, port forwarding or a network bridge?









share

























    up vote
    0
    down vote

    favorite












    Apologies if the question seems too stupid, but I'm just starting out.



    Problem



    I have two network interfaces



    eth0 Link encap:Ethernet HWaddr 00:04:35:00:01:21
    inet addr:172.24.176.221 Bcast:172.24.255.255 Mask:255.255.0.0
    inet6 addr: fe80::204:35ff:fe00:121/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:20754 errors:0 dropped:2 overruns:0 frame:0
    TX packets:5033 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1462452 (1.3 MiB) TX bytes:613891 (599.5 KiB)
    Interrupt:27 Base address:0xb000
    RX bytes:3052 (2.9 KiB) TX bytes:3052 (2.9 KiB)

    ppp0 Link encap:Point-to-Point Protocol
    inet addr:192.168.10.1 P-t-P:192.168.10.100 Mask:255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
    RX packets:446 errors:0 dropped:0 overruns:0 frame:0
    TX packets:293 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:33085 (32.3 KiB) TX bytes:35555 (34.7 KiB)


    Need to route UDP traffic on 192.168.10.1 (ppp0) port 9500 to 172.24.176.221 (eth0) port 9500 and visa versa, i.e. route UDP traffic on 172.24.176.221 port 9500 to 192.168.10.1 port 9500.



    Some context.
    ppp0 is a PPP running on a serial line. The command to instantiate it is pppd -detach persist debug local noauth passive xonxoff lock dump 192.168.10.1:192.168.10.100 /dev/ttyS0 9600



    I've been reading online on how to do it and it seems I either need to make a virtual network bridge or I need to setup port forwarding.



    My question is what exactly I need, port forwarding or a network bridge?









    share























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Apologies if the question seems too stupid, but I'm just starting out.



      Problem



      I have two network interfaces



      eth0 Link encap:Ethernet HWaddr 00:04:35:00:01:21
      inet addr:172.24.176.221 Bcast:172.24.255.255 Mask:255.255.0.0
      inet6 addr: fe80::204:35ff:fe00:121/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:20754 errors:0 dropped:2 overruns:0 frame:0
      TX packets:5033 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:1462452 (1.3 MiB) TX bytes:613891 (599.5 KiB)
      Interrupt:27 Base address:0xb000
      RX bytes:3052 (2.9 KiB) TX bytes:3052 (2.9 KiB)

      ppp0 Link encap:Point-to-Point Protocol
      inet addr:192.168.10.1 P-t-P:192.168.10.100 Mask:255.255.255.255
      UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
      RX packets:446 errors:0 dropped:0 overruns:0 frame:0
      TX packets:293 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:3
      RX bytes:33085 (32.3 KiB) TX bytes:35555 (34.7 KiB)


      Need to route UDP traffic on 192.168.10.1 (ppp0) port 9500 to 172.24.176.221 (eth0) port 9500 and visa versa, i.e. route UDP traffic on 172.24.176.221 port 9500 to 192.168.10.1 port 9500.



      Some context.
      ppp0 is a PPP running on a serial line. The command to instantiate it is pppd -detach persist debug local noauth passive xonxoff lock dump 192.168.10.1:192.168.10.100 /dev/ttyS0 9600



      I've been reading online on how to do it and it seems I either need to make a virtual network bridge or I need to setup port forwarding.



      My question is what exactly I need, port forwarding or a network bridge?









      share













      Apologies if the question seems too stupid, but I'm just starting out.



      Problem



      I have two network interfaces



      eth0 Link encap:Ethernet HWaddr 00:04:35:00:01:21
      inet addr:172.24.176.221 Bcast:172.24.255.255 Mask:255.255.0.0
      inet6 addr: fe80::204:35ff:fe00:121/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:20754 errors:0 dropped:2 overruns:0 frame:0
      TX packets:5033 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:1462452 (1.3 MiB) TX bytes:613891 (599.5 KiB)
      Interrupt:27 Base address:0xb000
      RX bytes:3052 (2.9 KiB) TX bytes:3052 (2.9 KiB)

      ppp0 Link encap:Point-to-Point Protocol
      inet addr:192.168.10.1 P-t-P:192.168.10.100 Mask:255.255.255.255
      UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
      RX packets:446 errors:0 dropped:0 overruns:0 frame:0
      TX packets:293 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:3
      RX bytes:33085 (32.3 KiB) TX bytes:35555 (34.7 KiB)


      Need to route UDP traffic on 192.168.10.1 (ppp0) port 9500 to 172.24.176.221 (eth0) port 9500 and visa versa, i.e. route UDP traffic on 172.24.176.221 port 9500 to 192.168.10.1 port 9500.



      Some context.
      ppp0 is a PPP running on a serial line. The command to instantiate it is pppd -detach persist debug local noauth passive xonxoff lock dump 192.168.10.1:192.168.10.100 /dev/ttyS0 9600



      I've been reading online on how to do it and it seems I either need to make a virtual network bridge or I need to setup port forwarding.



      My question is what exactly I need, port forwarding or a network bridge?







      port-forwarding bridge





      share












      share










      share



      share










      asked 5 mins ago









      flashburn

      207210




      207210

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477147%2fdifference-between-port-forwarding-and-a-virtual-network-bridge%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477147%2fdifference-between-port-forwarding-and-a-virtual-network-bridge%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay