Interfaces Config for online.net Server (#13)
* Interfaces Config for online.net Server * Tdf7 IP
This commit is contained in:
parent
00a715c1a7
commit
4622899970
@ -14,7 +14,11 @@ iface lo inet6 loopback
|
|||||||
|
|
||||||
# The primary network interface
|
# The primary network interface
|
||||||
allow-hotplug eth0
|
allow-hotplug eth0
|
||||||
iface eth0 inet dhcp
|
iface eth0 inet static
|
||||||
|
address 212.129.50.141
|
||||||
|
netmask 255.255.255.255
|
||||||
|
gateway 163.172.210.1
|
||||||
|
pointopoint 163.172.210.1
|
||||||
post-up iptables -P OUTPUT ACCEPT
|
post-up iptables -P OUTPUT ACCEPT
|
||||||
post-up iptables -A OUTPUT -o eth0 -d 10.0.0.0/8 -j DROP
|
post-up iptables -A OUTPUT -o eth0 -d 10.0.0.0/8 -j DROP
|
||||||
post-up iptables -A OUTPUT -o eth0 -d 172.16.0.0/12 -j DROP
|
post-up iptables -A OUTPUT -o eth0 -d 172.16.0.0/12 -j DROP
|
||||||
@ -23,7 +27,7 @@ iface eth0 inet dhcp
|
|||||||
post-up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
post-up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
||||||
auto 6to4
|
auto 6to4
|
||||||
iface 6to4 inet6 6to4
|
iface 6to4 inet6 6to4
|
||||||
local 163.172.27.8
|
local 212.129.50.141
|
||||||
|
|
||||||
# GRE Tunnel zum Rheinland Backbone
|
# GRE Tunnel zum Rheinland Backbone
|
||||||
# - Die Konfigurationsdaten werden vom Rheinland Backbone vergeben und zugewiesen
|
# - Die Konfigurationsdaten werden vom Rheinland Backbone vergeben und zugewiesen
|
||||||
@ -33,7 +37,7 @@ auto gre-bb-a.ak.ber
|
|||||||
iface gre-bb-a.ak.ber inet static
|
iface gre-bb-a.ak.ber inet static
|
||||||
address 100.64.6.13
|
address 100.64.6.13
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 163.172.27.8 remote 185.66.195.0 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 212.129.50.141 remote 185.66.195.0 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.104
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.104
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -50,7 +54,7 @@ auto gre-bb-b.ak.ber
|
|||||||
iface gre-bb-b.ak.ber inet static
|
iface gre-bb-b.ak.ber inet static
|
||||||
address 100.64.6.19
|
address 100.64.6.19
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 163.172.27.8 remote 185.66.195.1 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 212.129.50.141 remote 185.66.195.1 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.104
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.104
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -68,7 +72,7 @@ auto gre-bb-a.ix.dus
|
|||||||
iface gre-bb-a.ix.dus inet static
|
iface gre-bb-a.ix.dus inet static
|
||||||
address 100.64.6.17
|
address 100.64.6.17
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 163.172.27.8 remote 185.66.193.0 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 212.129.50.141 remote 185.66.193.0 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.104
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.104
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -86,7 +90,7 @@ auto gre-bb-b.ix.dus
|
|||||||
iface gre-bb-b.ix.dus inet static
|
iface gre-bb-b.ix.dus inet static
|
||||||
address 100.64.6.23
|
address 100.64.6.23
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 163.172.27.8 remote 185.66.193.1 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 212.129.50.141 remote 185.66.193.1 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.104
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.104
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -103,7 +107,7 @@ auto gre-bb-a.fra3.f
|
|||||||
iface gre-bb-a.fra3.f inet static
|
iface gre-bb-a.fra3.f inet static
|
||||||
address 100.64.6.15
|
address 100.64.6.15
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 163.172.27.8 remote 185.66.194.0 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 212.129.50.141 remote 185.66.194.0 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.104
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.104
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -121,7 +125,7 @@ auto gre-bb-b.fra3.f
|
|||||||
iface gre-bb-b.fra3.f inet static
|
iface gre-bb-b.fra3.f inet static
|
||||||
address 100.64.6.21
|
address 100.64.6.21
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 163.172.27.8 remote 185.66.194.1 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 212.129.50.141 remote 185.66.194.1 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.104
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.104
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
|
@ -14,7 +14,11 @@ iface lo inet6 loopback
|
|||||||
|
|
||||||
# The primary network interface
|
# The primary network interface
|
||||||
allow-hotplug eth0
|
allow-hotplug eth0
|
||||||
iface eth0 inet dhcp
|
iface eth0 inet static
|
||||||
|
address 62.210.5.90
|
||||||
|
netmask 255.255.255.255
|
||||||
|
gateway 163.172.210.1
|
||||||
|
pointopoint 163.172.210.1
|
||||||
post-up iptables -P OUTPUT ACCEPT
|
post-up iptables -P OUTPUT ACCEPT
|
||||||
post-up iptables -A OUTPUT -o eth0 -d 10.0.0.0/8 -j DROP
|
post-up iptables -A OUTPUT -o eth0 -d 10.0.0.0/8 -j DROP
|
||||||
post-up iptables -A OUTPUT -o eth0 -d 172.16.0.0/12 -j DROP
|
post-up iptables -A OUTPUT -o eth0 -d 172.16.0.0/12 -j DROP
|
||||||
@ -23,7 +27,7 @@ iface eth0 inet dhcp
|
|||||||
post-up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
post-up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
||||||
auto 6to4
|
auto 6to4
|
||||||
iface 6to4 inet6 6to4
|
iface 6to4 inet6 6to4
|
||||||
local 138.201.54.123
|
local 62.210.5.90
|
||||||
|
|
||||||
# GRE Tunnel zum Rheinland Backbone
|
# GRE Tunnel zum Rheinland Backbone
|
||||||
# - Die Konfigurationsdaten werden vom Rheinland Backbone vergeben und zugewiesen
|
# - Die Konfigurationsdaten werden vom Rheinland Backbone vergeben und zugewiesen
|
||||||
@ -33,7 +37,7 @@ auto gre-bb-a.ak.ber
|
|||||||
iface gre-bb-a.ak.ber inet static
|
iface gre-bb-a.ak.ber inet static
|
||||||
address 100.64.2.151
|
address 100.64.2.151
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 138.201.54.123 remote 185.66.195.0 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 62.210.5.90 remote 185.66.195.0 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.105
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.105
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -50,7 +54,7 @@ auto gre-bb-b.ak.ber
|
|||||||
iface gre-bb-b.ak.ber inet static
|
iface gre-bb-b.ak.ber inet static
|
||||||
address 100.64.2.153
|
address 100.64.2.153
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 138.201.54.123 remote 185.66.195.1 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 62.210.5.90 remote 185.66.195.1 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.105
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.105
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -68,7 +72,7 @@ auto gre-bb-a.ix.dus
|
|||||||
iface gre-bb-a.ix.dus inet static
|
iface gre-bb-a.ix.dus inet static
|
||||||
address 100.64.2.155
|
address 100.64.2.155
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 138.201.54.123 remote 185.66.193.0 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 62.210.5.90 remote 185.66.193.0 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.105
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.105
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -86,7 +90,7 @@ auto gre-bb-b.ix.dus
|
|||||||
iface gre-bb-b.ix.dus inet static
|
iface gre-bb-b.ix.dus inet static
|
||||||
address 100.64.2.157
|
address 100.64.2.157
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 138.201.54.123 remote 185.66.193.1 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 62.210.5.90 remote 185.66.193.1 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.105
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.105
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
|
@ -16,10 +16,10 @@ iface lo inet6 loopback
|
|||||||
allow-hotplug eth0
|
allow-hotplug eth0
|
||||||
#iface eth0 inet dhcp
|
#iface eth0 inet dhcp
|
||||||
iface eth0 inet static
|
iface eth0 inet static
|
||||||
address 46.4.138.189
|
address 62.210.12.122
|
||||||
netmask 255.255.255.192
|
netmask 255.255.255.255
|
||||||
gateway 46.4.138.129
|
gateway 163.172.210.1
|
||||||
dns-nameserver 213.133.100.100 213.133.99.99 213.133.98.98
|
pointopoint 163.172.210.1
|
||||||
post-up iptables -P OUTPUT ACCEPT
|
post-up iptables -P OUTPUT ACCEPT
|
||||||
post-up iptables -A OUTPUT -o eth0 -d 10.0.0.0/8 -j DROP
|
post-up iptables -A OUTPUT -o eth0 -d 10.0.0.0/8 -j DROP
|
||||||
post-up iptables -A OUTPUT -o eth0 -d 172.16.0.0/12 -j DROP
|
post-up iptables -A OUTPUT -o eth0 -d 172.16.0.0/12 -j DROP
|
||||||
@ -27,10 +27,9 @@ iface eth0 inet static
|
|||||||
post-up iptables -A OUTPUT -o eth0 -d 192.168.0.0/16 -j DROP
|
post-up iptables -A OUTPUT -o eth0 -d 192.168.0.0/16 -j DROP
|
||||||
post-up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
post-up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
||||||
|
|
||||||
iface eth0 inet6 static
|
auto 6to4
|
||||||
address 2a01:4f8:11d:600::189
|
iface 6to4 inet6 6to4
|
||||||
netmask 59
|
local 62.210.12.122
|
||||||
gateway 2a01:4f8:11d:600::1
|
|
||||||
post-up ip6tables -P OUTPUT ACCEPT
|
post-up ip6tables -P OUTPUT ACCEPT
|
||||||
post-up ip6tables -A OUTPUT -o eth0 -d fc00::/7 -j DROP
|
post-up ip6tables -A OUTPUT -o eth0 -d fc00::/7 -j DROP
|
||||||
|
|
||||||
@ -42,7 +41,7 @@ auto gre-bb-a.ak.ber
|
|||||||
iface gre-bb-a.ak.ber inet static
|
iface gre-bb-a.ak.ber inet static
|
||||||
address 100.64.2.159
|
address 100.64.2.159
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 46.4.138.189 remote 185.66.195.0 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 62.210.12.122 remote 185.66.195.0 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.106
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.106
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -59,7 +58,7 @@ auto gre-bb-b.ak.ber
|
|||||||
iface gre-bb-b.ak.ber inet static
|
iface gre-bb-b.ak.ber inet static
|
||||||
address 100.64.2.161
|
address 100.64.2.161
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 46.4.138.189 remote 185.66.195.1 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 62.210.12.122 remote 185.66.195.1 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.106
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.106
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -77,7 +76,7 @@ auto gre-bb-a.ix.dus
|
|||||||
iface gre-bb-a.ix.dus inet static
|
iface gre-bb-a.ix.dus inet static
|
||||||
address 100.64.2.163
|
address 100.64.2.163
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 46.4.138.189 remote 185.66.193.0 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 62.210.12.122 remote 185.66.193.0 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.106
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.106
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -95,7 +94,7 @@ auto gre-bb-b.ix.dus
|
|||||||
iface gre-bb-b.ix.dus inet static
|
iface gre-bb-b.ix.dus inet static
|
||||||
address 100.64.2.165
|
address 100.64.2.165
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 46.4.138.189 remote 185.66.193.1 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 62.210.12.122 remote 185.66.193.1 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.106
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.106
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
|
@ -14,7 +14,11 @@ iface lo inet6 loopback
|
|||||||
|
|
||||||
# The primary network interface
|
# The primary network interface
|
||||||
allow-hotplug eth0
|
allow-hotplug eth0
|
||||||
iface eth0 inet dhcp
|
iface eth0 inet static
|
||||||
|
address 163.172.194.197
|
||||||
|
netmask 255.255.255.255
|
||||||
|
gateway 163.172.210.1
|
||||||
|
pointopoint 163.172.210.1
|
||||||
post-up iptables -P OUTPUT ACCEPT
|
post-up iptables -P OUTPUT ACCEPT
|
||||||
post-up iptables -A OUTPUT -o eth0 -d 10.0.0.0/8 -j DROP
|
post-up iptables -A OUTPUT -o eth0 -d 10.0.0.0/8 -j DROP
|
||||||
post-up iptables -A OUTPUT -o eth0 -d 172.16.0.0/12 -j DROP
|
post-up iptables -A OUTPUT -o eth0 -d 172.16.0.0/12 -j DROP
|
||||||
@ -23,7 +27,7 @@ iface eth0 inet dhcp
|
|||||||
post-up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
post-up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
||||||
auto 6to4
|
auto 6to4
|
||||||
iface 6to4 inet6 6to4
|
iface 6to4 inet6 6to4
|
||||||
local 163.172.28.228
|
local 163.172.194.197
|
||||||
|
|
||||||
# GRE Tunnel zum Rheinland Backbone
|
# GRE Tunnel zum Rheinland Backbone
|
||||||
# - Die Konfigurationsdaten werden vom Rheinland Backbone vergeben und zugewiesen
|
# - Die Konfigurationsdaten werden vom Rheinland Backbone vergeben und zugewiesen
|
||||||
@ -33,7 +37,7 @@ auto gre-bb-a.ak.ber
|
|||||||
iface gre-bb-a.ak.ber inet static
|
iface gre-bb-a.ak.ber inet static
|
||||||
address 100.64.6.25
|
address 100.64.6.25
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 163.172.28.228 remote 185.66.195.0 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 163.172.194.197 remote 185.66.195.0 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.107
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.107
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -50,7 +54,7 @@ auto gre-bb-b.ak.ber
|
|||||||
iface gre-bb-b.ak.ber inet static
|
iface gre-bb-b.ak.ber inet static
|
||||||
address 100.64.6.31
|
address 100.64.6.31
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 163.172.28.228 remote 185.66.195.1 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 163.172.194.197 remote 185.66.195.1 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.107
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.107
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -68,7 +72,7 @@ auto gre-bb-a.ix.dus
|
|||||||
iface gre-bb-a.ix.dus inet static
|
iface gre-bb-a.ix.dus inet static
|
||||||
address 100.64.6.29
|
address 100.64.6.29
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 163.172.28.228 remote 185.66.193.0 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 163.172.194.197 remote 185.66.193.0 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.107
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.107
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -86,7 +90,7 @@ auto gre-bb-b.ix.dus
|
|||||||
iface gre-bb-b.ix.dus inet static
|
iface gre-bb-b.ix.dus inet static
|
||||||
address 100.64.6.35
|
address 100.64.6.35
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 163.172.28.228 remote 185.66.193.1 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 163.172.194.197 remote 185.66.193.1 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.107
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.107
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -103,7 +107,7 @@ auto gre-bb-a.fra3.f
|
|||||||
iface gre-bb-a.fra3.f inet static
|
iface gre-bb-a.fra3.f inet static
|
||||||
address 100.64.6.27
|
address 100.64.6.27
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 163.172.28.228 remote 185.66.194.0 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 163.172.194.197 remote 185.66.194.0 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.107
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.107
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
@ -121,7 +125,7 @@ auto gre-bb-b.fra3.f
|
|||||||
iface gre-bb-b.fra3.f inet static
|
iface gre-bb-b.fra3.f inet static
|
||||||
address 100.64.6.33
|
address 100.64.6.33
|
||||||
netmask 255.255.255.254
|
netmask 255.255.255.254
|
||||||
pre-up ip tunnel add $IFACE mode gre local 163.172.28.228 remote 185.66.194.1 ttl 255
|
pre-up ip tunnel add $IFACE mode gre local 163.172.194.197 remote 185.66.194.1 ttl 255
|
||||||
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.107
|
post-up iptables -t nat -A POSTROUTING -o $IFACE -j SNAT --to-source 185.66.193.107
|
||||||
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
post-up iptables -t mangle -A POSTROUTING -p tcp --tcp-flags SYN,RST SYN -o $IFACE -j TCPMSS --set-mss 1312
|
||||||
post-up ip link set $IFACE mtu 1400
|
post-up ip link set $IFACE mtu 1400
|
||||||
|
Loading…
Reference in New Issue
Block a user