Raspberry PI Ethernet access point

MikeyLinton1187

Commendable
Aug 8, 2016
57
0
1,640
Hi,
I'm trying to configure my raspberry pi to provide internet access to any device when I plug it into the Ethernet port, I have looked at several tutorials and guides and none of them have worked so thought I'd post the question here. I am running the latest version of raspbian full desktop, which is a port of Debian. My current setup uses two usb ports from my pc to power the raspberry pi and I am using "ssh pi@raspberry.local" log into the pi.

Any help would be much appreciated.
Kind Regards,
Michael Linton
 


I had a look at the link and I have gotten further with this one than the others. I still cannot get internet access however it is allowing me to connect via wireless, although I want to disable wireless broadcasting and only allow access to the pi access point through Ethernet.

After typing: "iptables-restore < /etc/iptables.ipv4.nat" I receive the error
Error occurred at line: 2
Try `iptables-restore -h' or 'iptables-restore --help' for more information.