|
|
LinksysWrtg54From $1Table of contents[MISSING]h5. Sveasoft Features I'd Hate to Give Up * SSH (and SSH tunneling) ** I could work around this by forwarding 443 to kevinpc with SSH on kevinpc. * Static DHCP assignments ** I could make kevinpc do the DHCP assignment Do this to make ssh on port 443 work: <pre> #!/bin/ash nvram set rc_firewall='#!/bin/ash iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1453: -j TCPMSS --set-mss 1452/usr/sbin/iptables -t nat -N INPUT /usr/sbin/iptables -t nat -I INPUT -p tcp -d 66.156.97.61 --dport 443 -i vlan1 -j ACCEPT sleep 1' sleep 1 nvram commit </pre>
Tags:
none |