static IP & DHCP problems on LAN

Colin Law clanlaw at googlemail.com
Tue Mar 12 11:53:17 UTC 2013


On 12 March 2013 11:31, Karl Auer <kauer at biplane.com.au> wrote:
> On Tue, 2013-03-12 at 10:33 +0000, Adam Funk wrote:
>> If I'm inside the LAN, I ssh to the fixed IP address.  If I'm outside,
>> I ssh to a no-ip.com hostname, and the NAT router forwards the port to
>> the fixed LAN IP address.  (There's no way to do the port forwarding
>> on my equipment without a static LAN IP.)
>
> Oh yes there is! :-)
>
> Set up an IPv6 tunnel on your home server, set up another one on your
> laptop, and it will be as if NAT had never existed. Don't forget to put
> appropriate filters on the tunnel interfaces. Some tunnel providers even
> put the tunnel endpoint address in the DNS for you - all of them give
> you the same addresses every time, so you can put it in your own DNS or
> just in your /etc/hosts file.

Do you have a link to a guide on how to do this?  Google showed a
number of hits but none I saw addressed exactly how to do this.

Colin

>
> No more need for static IPv4 addresses, no more need for port
> forwarding, all the ports on your server are available on the same
> address... bliss. Might be an idea to set up publickey-only ssh access
> though, as otherwise a lot of script-kiddies will be tap, tap, tapping
> at your window...
>
> Of course, if you can get native IPv6, that's even better, but sadly a
> lot of ISPs have yet to catch up.
>
> Regards, K.
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Karl Auer (kauer at biplane.com.au)
> http://www.biplane.com.au/kauer
> http://www.biplane.com.au/blog
>
> GPG fingerprint: B862 FB15 FE96 4961 BC62 1A40 6239 1208 9865 5F9A
> Old fingerprint: AE1D 4868 6420 AD9A A698 5251 1699 7B78 4EEE 6017
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list