#004: Using iptables to share your internet connection

One of the less intuitive networking tasks often performed on Linux boxes is the connection sharing process. Here is a short clip to show you how iptables works.

Tips

  • Use iptables -t nat -I POSTROUTING -s 192.168.0.1/24 -j MASQUERADE to set up a dynamic masquerade (the most popular way of sharing the connection where your internet IP is likely to change)
  • Remember to replace 192.168.0.1/24 with your local area network IP and mask in the above example

Download and watch

Using iptables to share your internet connection (0.3MB)

2 Responses to “#004: Using iptables to share your internet connection”

  1. spinus Says:

    mam nadzieje ze pomysl nie upadl i sie cos pojawi :), ja bym cos chetnie dodal ale na razie istanbul nie dziala za dobrze w th wiec poczekam az pythona zrobia itd, wtedy chetnie sie przylacze :)

  2. tetsuo Says:

    Też mam nadzieję, że pojawią się kolejne nagrania. Sam wiem zbyt mało o linuksie, żeby wyprodukować wartościowe wideo.

Leave a Reply