Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can i share internet connection?

internet connection share
0
Posted

How can i share internet connection?

0

create a file share_net.sh with the following content • !/bin/sh echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE You may have to change eth0 to eth1 if the internet cable plug in to your second ethernet card. If you are using Dialup connection replace -o eth0 with -o ppp0 in the last line. Execute this script as root on the server (where internet cable reaches) to share the net. connection.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123