INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Port Forwarding on Pi 2 with Jessie  (Read 1787 times)

mplicit

  • Junior Woodchuck
  • **
  • Posts: 87
Port Forwarding on Pi 2 with Jessie
« on: November 08, 2017, 07:12:05 pm »

Port Forwarding used to work perfectly on my pi 2 with Wheezy. Since I upgraded to Jessie it stopped working. Any thoughts?
Thanks
RN
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5233
  • "Linux Merit Badge" Recipient
Re: Port Forwarding on Pi 2 with Jessie
« Reply #1 on: November 09, 2017, 10:19:13 am »

What do you mean by "port forwarding" in this context?  Port forwarding is normally something that happens on your router not on your pi, unless you're using your pi as a router?  Or do you mean that you just can't access the pi's server outside of your home network?  If that's the case its most likely a change in the pi's firewall iptables rules.  What is the output of "sudo iptables -L"
Logged

mplicit

  • Junior Woodchuck
  • **
  • Posts: 87
Re: Port Forwarding on Pi 2 with Jessie
« Reply #2 on: November 09, 2017, 04:41:04 pm »

I can't access the PI's server outside my home network (port 52198) although I can access my Windows PC server outside my home network (port 52199) both using the same router.

below is the output that you asked for. Thanks for your help.

pi@raspberrypi ~ $ sudo iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
pi@raspberrypi ~ $
Logged

mplicit

  • Junior Woodchuck
  • **
  • Posts: 87
Re: Port Forwarding on Pi 2 with Jessie
« Reply #3 on: November 10, 2017, 12:22:18 pm »

I restarted my router and port forwarding is now working on my pi 2 :)
Logged
Pages: [1]   Go Up