X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=wrt-setup-local;h=4cad00c1797158040c6ec1f66dc90d9a321eaf70;hp=567a4a78e67b67334a8f7f7f541f7beee125f630;hb=53db7c23cb11661c98a08d69295bb315c392003b;hpb=e5fc90391646ea35b06250a90ad3aa3c1c2516dc diff --git a/wrt-setup-local b/wrt-setup-local index 567a4a7..4cad00c 100755 --- a/wrt-setup-local +++ b/wrt-setup-local @@ -483,7 +483,7 @@ config redirect option src wan option src_dport 2202 option dest_port 22 - option dest_ip $l.8 + option dest_ip $l.2 option dest lan config rule option src wan @@ -526,6 +526,17 @@ config rule option target ACCEPT option dest_port 2208 +config redirect + option name icecast + option src wan + option src_dport 8000 + option dest_port 8000 + option dest_ip $l.2 + option dest lan +config rule + option src wan + option target ACCEPT + option dest_port 8000 config rule option name sshwrt @@ -560,7 +571,7 @@ config redirect option src wan option src_dport 80 option dest lan - option dest_ip $l.8 + option dest_ip $l.2 option proto tcp config rule option src wan @@ -573,7 +584,7 @@ config redirect option src wan option src_dport 443 option dest lan - option dest_ip $l.8 + option dest_ip $l.2 option proto tcp config rule option src wan @@ -658,47 +669,27 @@ $l.12 demohost $l.13 trp 72.14.176.105 li 2600:3c00::f03c:91ff:fe6d:baf8 li -85.119.83.50 bk -2001:ba8:1f1:f0c9::2 bk # netns creation looks for next free subnet starting at 10.173, but I only # use one, and I would keep this one as the first created. 10.173.0.2 transmission EOF case $hostname in - wrt) + cmc) v cedit host /etc/hosts <