LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Sharing Internet Connectoin Fedora 19 <- 18 (https://www.linuxquestions.org/questions/linux-networking-3/sharing-internet-connectoin-fedora-19-18-a-4175472050/)

ChakaZulu 08-04-2013 07:03 AM

Sharing Internet Connectoin Fedora 19 <- 18
 
Hello

I'm trying to share my internet connection in Fedora 19 but i can't find the option 'share connection' in 'network definitions -> wired'.

Can anyone help me how to share a internet connection in Fedora 19 with other Fedora 18 system?

Thanks in advance.

daniel w. 08-04-2013 07:38 AM

Google doesn't bite. :) Try to think yourself sometime! -- is it correct?:) Apologies for my lack of English :)



Best regards
D.w

ChakaZulu 08-05-2013 10:51 AM

I did the config in my fedora 18 box like this:
-1st i select 'manual' in ipv4 net defenitions
-IP = 192.168.0.2
Subnet Mask = 255.255.255.0
Default Gateway = 192.168.0.1 (gateway from my fedora 19 box)
Dns Primário = 88.214.178.1 (DNS from my fedora 19 box ppp0)
Dns Secundário = 88.214.182.2 (DNS from my fedora 19 box ppp0)

and connect... SUCCESS

in my fedora 19 box, i did the config like this:
-1st i select 'manual' in ipv4 net definitions
IP = 192.168.0.1
Subnet Mask = 255.255.255.0
Default Gateway = 95.69.1.147 (ip address from my ppp0 interface) and save

iptables -A POSTROUTING -t nat -s 192.168.0.2 -o p5p1 -j MASQUERADE
iptables -t filter -P FORWARD ACCEPT
iptables-save
service iptables restart

Ping from box fedora 19 -> 18 ---> Success
Ping from box fedora 18 -> 19 ---> Success

Result:
I can't have access to internet from my fedora 18 box.

Help needed
Thanks in advance.

ZTagr 07-16-2014 01:38 PM

Have you resolved this issue?
 
Hello ChakaZulu!

Have you finally got you Internet connection sharing working?

I have Fedora 19, and have been successfully sharing my internet connection from that machine for quite some time, so I might be able to help if you still need it!

There are two ways to do it, and I would need to know more about your system first before I could offer you my suggestions...

Later!
ZTagr


All times are GMT -5. The time now is 09:11 PM.