2014-05-08 - Re: [GRASE-Hotspot] I have an IP camera on my network I would like to access from outside the network

Header Data

From: “James C.” <to***n@gmail.com>
Message Hash: 6021a7540a902bc357d91be0ae02ccee2b1d6305ab621d2f6ef1fb40265a429e
Message ID: <764c6453-088c-4ea2-a9d9-c14a155a49f1@grasehotspot.org>
Reply To: <CAH9nkYOY7wpWo4gCF+OikQjSXT7uNkSckXq1FfUr0HgozAQ8EQ@mail.gmail.com>
UTC Datetime: 2014-05-08 11:44:26 UTC
Raw Date: Thu, 08 May 2014 11:44:26 -0700

Raw message

Ok I found and answer and thought I should post it for anyone else who my 
need to do this:

Found at: 
http://askubuntu.com/questions/320121/simple-port-forwarding

One of the posts made it very clear to me:

Enable IP Forwarding:

sysctl net.ipv4.ip_forward=1


Add your forwarding rule:

iptables -t nat -A PREROUTING -p tcp -d (Public IP (108.34.256.100) --dport 29418 -j DNAT --to-destination destination IP and port (10.1.1.1:29418)


Ask IPtables to Masquerade:

iptables -t nat -A POSTROUTING -j MASQUERADE




Thread