[opensuse] Sharing the internet connection from one computer to another
Is there a way to share the internet connection, using an USB modem connected to a computer, to another computer connected with the first one through Ethernet ? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Is there a way to share the internet connection, using an USB modem connected to a computer, to another computer connected with the first one through Ethernet ?
Squid -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü N�����r��y隊Z)z{.�ﮞ˛���m�)z{.��+�Z+i�b�*'jW(�f�vǦj)h���Ǿ��i�������
On Sat March 7 2009 5:42:42 am Dotan Cohen wrote:
Is there a way to share the internet connection, using an USB modem connected to a computer, to another computer connected with the first one through Ethernet ?
Squid
Isn't that only for http? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Isn't that only for http?
squid is for http/s/ftp. the rest can be achieved with the nat features of the linux kernel with using opensusefirewall. there is some information inside the yast2 module of susefirewall, its not that hard. you define which of your networks (network cards) is external device, which is internal. letmegooglethatforyou -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
squid is for http/s/ftp.
I actually did not realize that! Thanks. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-03-07 at 13:39 +0200, Bogdan Cristea wrote:
Is there a way to share the internet connection, using an USB modem connected to a computer, to another computer connected with the first one through Ethernet ?
Of course. Just configure SuSEfirewall2 to do nat. FW_ROUTE FW_MASQUERADE FW_FORWARD FW_REDIRECT Squid is just for browsing via proxy, and I assume you need the rest of services. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkmyYMIACgkQtTMYHG2NR9XHzQCffvvABZlsQ7LpUgQfvO7NNJH0 GXIAn1DyFaMJVjcpcA13FzxHfSxaFv++ =1zuw -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 07 March 2009 13:55:40 Carlos E. R. wrote:
On Saturday, 2009-03-07 at 13:39 +0200, Bogdan Cristea wrote:
Is there a way to share the internet connection, using an USB modem connected to a computer, to another computer connected with the first one through Ethernet ?
Of course. Just configure SuSEfirewall2 to do nat.
FW_ROUTE FW_MASQUERADE FW_FORWARD FW_REDIRECT
Squid is just for browsing via proxy, and I assume you need the rest of services.
-- Cheers, Carlos E. R.
Could you point some tutorial for this using openSuSE Firewall please ? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 07 March 2009 06:21:46 am Bogdan Cristea wrote:
On Saturday 07 March 2009 13:55:40 Carlos E. R. wrote:
On Saturday, 2009-03-07 at 13:39 +0200, Bogdan Cristea wrote:
Is there a way to share the internet connection, using an USB modem connected to a computer, to another computer connected with the first one through Ethernet ?
Of course. Just configure SuSEfirewall2 to do nat.
FW_ROUTE FW_MASQUERADE FW_FORWARD FW_REDIRECT ... Could you point some tutorial for this using openSuSE Firewall please ?
http://en.opensuse.org/Firewall http://en.opensuse.org/YaST/Modules/Firewall particularly, section Masquerading So far I recall, all you need to is: - mark interfaces, one as internal and one as external - enable masquerading in YaST Firewall - add internal network in the list I have only one interface, so I can't go further. Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Bogdan Cristea wrote:
Is there a way to share the internet connection, using an USB modem connected to a computer, to another computer connected with the first one through Ethernet ?
Yes, set up the one with the modem as a router. That's something Linux is very good at. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Bogdan Cristea
-
cagsm
-
Carlos E. R.
-
Constantinos Maltezos
-
Dotan Cohen
-
James Knott
-
Rajko M.