diff --git a/docs/standalone.xml b/docs/standalone.xml index 2eb5261d5..1c7e08ad0 100644 --- a/docs/standalone.xml +++ b/docs/standalone.xml @@ -329,15 +329,6 @@ all all REJECT info ISDN, your external interface will be ippp0. - - - The Shorewall one-interface sample configuration assumes that the - external interface is eth0. If - your configuration is different, you will have to modify the sample - /etc/shorewall/interfaces file accordingly. While you - are there, you may wish to review the list of options that are specified - for the interface. Some hints: - Be sure you know which interface is your external interface. Many hours have been spent floundering by users who have configured the wrong @@ -360,6 +351,15 @@ root@lists:~# the external interface. + + + The Shorewall one-interface sample configuration assumes that the + external interface is eth0. If + your configuration is different, you will have to modify the sample + /etc/shorewall/interfaces file accordingly. While you + are there, you may wish to review the list of options that are specified + for the interface. Some hints: + If your external interface is ppp0 or external interface will be ippp0. + + Be sure you know which interface is your external interface. Many + hours have been spent floundering by users who have configured the wrong + interface. If you are unsure, then as root type "ip route ls" at the + command line. The device listed in the last (default) route should be + your external interface. + + Example: + + root@lists:~# ip route ls +192.168.1.1 dev eth0 scope link +192.168.2.2 dev tun0 proto kernel scope link src 192.168.2.1 +192.168.3.0/24 dev br0 proto kernel scope link src 192.168.3.254 +10.13.10.0/24 dev tun1 scope link +192.168.2.0/24 via 192.168.2.2 dev tun0 +192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.254 +206.124.146.0/24 dev eth0 proto kernel scope link src 206.124.146.176 +10.10.10.0/24 dev tun1 scope link +default via 206.124.146.254 dev eth0 +root@lists:~# + + In that example, eth0 is + the external interface. + + If your external interface is are there, you may wish to review the list of options that are specified for the interfaces. Some hints: - - Be sure you know which interface is your external interface. Many - hours have been spent floundering by users who have configured the wrong - interface. If you are unsure, then as root type "ip route ls" at the - command line. The device listed in the last (default) route should be - your external interface. - - Example: - - root@lists:~# ip route ls -192.168.1.1 dev eth0 scope link -192.168.2.2 dev tun0 proto kernel scope link src 192.168.2.1 -192.168.3.0/24 dev br0 proto kernel scope link src 192.168.3.254 -10.13.10.0/24 dev tun1 scope link -192.168.2.0/24 via 192.168.2.2 dev tun0 -192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.254 -206.124.146.0/24 dev eth0 proto kernel scope link src 206.124.146.176 -10.10.10.0/24 dev tun1 scope link -default via 206.124.146.254 dev eth0 -root@lists:~# - - In that example, eth0 is - the external interface. - - If your external interface is ppp0 or The above policy will: ISDN, your external interface will be ippp0. + + Be sure you know which interface is your external interface. Many + hours have been spent floundering by users who have configured the wrong + interface. If you are unsure, then as root type "ip route ls" at the + command line. The device listed in the last (default) route should be + your external interface. + + Example: + + root@lists:~# ip route ls +192.168.1.1 dev eth0 scope link +192.168.2.2 dev tun0 proto kernel scope link src 192.168.2.1 +192.168.3.0/24 dev br0 proto kernel scope link src 192.168.3.254 +10.13.10.0/24 dev tun1 scope link +192.168.2.0/24 via 192.168.2.2 dev tun0 +192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.254 +206.124.146.0/24 dev eth0 proto kernel scope link src 206.124.146.176 +10.10.10.0/24 dev tun1 scope link +default via 206.124.146.254 dev eth0 +root@lists:~# + + In that example, eth0 is + the external interface. + + If your external interface is The above policy will: class="directory">/etc/shorewall/interfaces file accordingly. While you are there, you may wish to review the list of options that are specified for the interfaces. Some hints: - Be sure you know which interface is your external interface. - Many hours have been spent floundering by users who have configured - the wrong interface. If you are unsure, then as root type "ip route - ls" at the command line. The device listed in the last (default) route - should be your external interface. - - Example: - - root@lists:~# ip route ls -192.168.1.1 dev eth0 scope link -192.168.2.2 dev tun0 proto kernel scope link src 192.168.2.1 -192.168.3.0/24 dev br0 proto kernel scope link src 192.168.3.254 -10.13.10.0/24 dev tun1 scope link -192.168.2.0/24 via 192.168.2.2 dev tun0 -192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.254 -206.124.146.0/24 dev eth0 proto kernel scope link src 206.124.146.176 -10.10.10.0/24 dev tun1 scope link -default via 206.124.146.254 dev eth0 -root@lists:~# - - In that example, eth0 is - the external interface. - If your external interface is ppp0 or ippp0, you can replace the