Answer the question
In order to leave comments, you need to log in
How to distribute the Internet from wlan0 to eth0 to create a gateway?
Good evening! Help please, with the solution of the problem, you need to create a gateway on a netbook. While for test purposes, I want the netbook to receive the Internet from the router to wlan0 and transmit it to eth0, with an eth0 wire to the computer. Wlan0 accepts a connection, no problem here, debian system, network manager is installed, forwarding is enabled, firestarter says at startup that eth0 is not connected. Do I need to install dnsmasq and what parameters should I specify for eth0?
interfaces has the following:
# The loopback network interface
auto lo
iface lo inet loopback
# wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid
wpa-psk
Answer the question
In order to leave comments, you need to log in
Linux in the usual case, and any router, don't give a damn about the transmission medium (wifi, ethernet, ppp). Just enable routing in /proc/sys/net/ipv4/ip_forward and allow everything in iptables (default access for all tables and no other rules)
Oh, those network managers.
You need to configure iptables
Something like
Instructions for distributing an Internet in Linux google without problems.
Googled! all instructions are for two network cards. If it's not difficult, tell me how to assign an ip mask and gateway for eth0 to receive from wlan0 and what to prescribe on the host that will receive the Internet?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question