difference between port forwarding and a virtual network bridge
Clash 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?
port-forwarding bridge
add a comment |Â
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?
port-forwarding bridge
add a comment |Â
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?
port-forwarding bridge
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
port-forwarding bridge
asked 5 mins ago
flashburn
207210
207210
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password