Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iptables -F
- iptables -t nat -F
- iptables -P INPUT ACCEPT
- iptables -P OUTPUT ACCEPT
- iptables -P FORWARD ACCEPT
- iptables -A FORWARD -i xenbr0 -s 192.168.0.1/255.255.255.0 -j ACCEPT
- iptables -t nat -A POSTROUTING -o eth_pub -j MASQUERADE
- net.ipv4.ip_forward = 1
- net.ipv4.conf.all.forwarding = 1
- net.ipv4.conf.default.forwarding = 1
- net.ipv6.conf.all.forwarding = 1
- net.ipv4.conf.all.send_redirects = 1
- net.ipv4.conf.all.accept_source_route = 1
- net.ipv6.conf.all.accept_source_route = 1
- eth2 Link encap:Ethernet HWaddr 00:07:43:08:4f:d6
- UP BROADCAST MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- Interrupt:32 Memory:98800000-98800fff
- eth3 Link encap:Ethernet HWaddr 00:07:43:08:4f:d7
- UP BROADCAST MULTICAST MTU:1500 Metric:1
- RX packets:30544053 errors:0 dropped:0 overruns:0 frame:0
- TX packets:6114883 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:39790647786 (37.0 GiB) TX bytes:8001873683 (7.4 GiB)
- Interrupt:32 Memory:98800000-98800fff
- eth_loc Link encap:Ethernet HWaddr 00:21:5e:dc:5d:2e
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:57635104 errors:0 dropped:1781 overruns:0 frame:0
- TX packets:39718753 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:82805662090 (77.1 GiB) TX bytes:44346906560 (41.3 GiB)
- eth_pub Link encap:Ethernet HWaddr 00:21:5e:dc:5d:2c
- inet addr:73.38.248.103 Bcast:255.255.255.255 Mask:255.255.254.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:16016845 errors:0 dropped:0 overruns:0 frame:0
- TX packets:10959184 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:18530980196 (17.2 GiB) TX bytes:8001064551 (7.4 GiB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:1551953 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1551953 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:748269163 (713.6 MiB) TX bytes:748269163 (713.6 MiB)
- vif2.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:380180 errors:0 dropped:0 overruns:0 frame:0
- TX packets:548688 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:32
- RX bytes:3055869428 (2.8 GiB) TX bytes:46331570 (44.1 MiB)
- xenbr0 Link encap:Ethernet HWaddr 00:07:43:08:4f:d6
- inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:12099205 errors:0 dropped:0 overruns:0 frame:0
- TX packets:16902599 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:83409524568 (77.6 GiB) TX bytes:13594088205 (12.6 GiB)
- bridge name bridge id STP enabled interfaces
- xenbr0 8000.000743084fd6 no eth2
- eth3
- eth_loc
- vif2.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement