Thanks SirLags that really is a great help.SirLagz wrote:Using this iptables rule will direct all http traffic to the Pi - assuming your Pi's IP address is 10.0.0.1
sudo iptables -t nat -A PREROUTING -d 0/0 -p tcp –dport 80 -j DNAT –to 10.0.0.1:80
Though I haven't tested that out with a WAP connected to the Pi.
Why not use a WiFI USB stick and broadcast a network straight from the Pi ? Saves you a piece of hardware to configure, though then you'd need to run dnsmasq on the Pi to hand out IP addresses.
Also, you won't need ftp to update the webserver.
ssh / sftp will work with just the ssh daemon running, so one less service to manage.
Users browsing this forum: No registered users and 12 guests