I have created a static ip on my bthub - 31.xx.xxx.17
I have then used port forwarding with my raspberry pi device with all the major ports (ie 21,22,80, etc
)
I have set the bt firewall like this:
Then on the raspberry pi the local ip - 31.xx.xxx.21
has been set like this:
I have then edited the /etc/network/interfaces
on my raspberry pi to:
auto lo
iface lo inet loopback
iface eth0 inet static
address 31.xx.xxx.21
network 31.xx.xxx.16
broadcast 31.xx.xxx.23
gateway 31.xx.xxx.17
iface eth0 inet dhcp
When I enter the ip 31.xx.xxx.21
locally the index page works perfectly. But when I enter 31.xx.xxx.17
locally I get a 403
error. And remotely nothing appears!! I have had it all working fine a week ago but I have sinced moved from a wifi connection on my raspberry pi to an ethernet one and everything has broken! Why?
update
When I access my public ip it works fine too! But that is not going to be static is it?