Salam O Alykum!
I have 2 telefone lines having 1 mb DSL connections on Each,
How can run both Lines on on linux ubuntu server?
need a bit detail.
waiting....
Salam O Alykum.
1 MB + 1MB on One Linux Server
-
- Battalion Quarter Master Havaldaar
- Posts: 241
- Joined: Wed Dec 24, 2003 2:36 am
- Location: Pukhtoonistan
- Contact:
1 MB + 1MB on One Linux Server
Tefl E Maktab
-----------------------------
----- ----- ----- ------ ------ -------
-----------------------------
----- ----- ----- ------ ------ -------
Re: 1 MB + 1MB on One Linux Server
use SNAT for both sourcessarthor wrote:Salam O Alykum!
I have 2 telefone lines having 1 mb DSL connections on Each,
How can run both Lines on on linux ubuntu server?
need a bit detail.
waiting....
Salam O Alykum.
Salam...
Dear Lambda can you please tell me how to SNAT it...
looking forward for reply..
Dear Lambda can you please tell me how to SNAT it...
looking forward for reply..
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Salam Kbukhari
U mean configure iptables to use SNAT.Asume I have two ips addresses 1)202.192.168.1 (2) 202.192.168.2.So I define a these IPs in a iptables rules. I m right? Like this...
iptables -t nat -A POSTROUTING -j SNAT --to-source 202.192.168.1
iptables -t nat -A POSTROUTING -j SNAT --to-source 202.192.168.2
I think MASQUERADING will also work in this scenario...
Like
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE
Asuming eth1 and eth2 are my outgoing interface.
Actually I m also working in this scenario.But I needs help.
U mean configure iptables to use SNAT.Asume I have two ips addresses 1)202.192.168.1 (2) 202.192.168.2.So I define a these IPs in a iptables rules. I m right? Like this...
iptables -t nat -A POSTROUTING -j SNAT --to-source 202.192.168.1
iptables -t nat -A POSTROUTING -j SNAT --to-source 202.192.168.2
I think MASQUERADING will also work in this scenario...
Like
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE
Asuming eth1 and eth2 are my outgoing interface.
Actually I m also working in this scenario.But I needs help.
Thanks & Regards
Athar Hussain
Athar Hussain
-
- Battalion Quarter Master Havaldaar
- Posts: 241
- Joined: Wed Dec 24, 2003 2:36 am
- Location: Pukhtoonistan
- Contact:
Salam O Alykum,ather_36 wrote:Salam Kbukhari
U mean configure iptables to use SNAT.Asume I have two ips addresses 1)202.192.168.1 (2) 202.192.168.2.So I define a these IPs in a iptables rules. I m right? Like this...
iptables -t nat -A POSTROUTING -j SNAT --to-source 202.192.168.1
iptables -t nat -A POSTROUTING -j SNAT --to-source 202.192.168.2
I think MASQUERADING will also work in this scenario...
Like
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE
Asuming eth1 and eth2 are my outgoing interface.
Actually I m also working in this scenario.But I needs help.
For Example i got connected by my dsl dialer, and it assigned me ip 203.99.190.13 and gateway 203.99.190.1 While on the 2nd line my ip is 203.99.191.30 and gw is 203.99.191.1,
So what will be the gateway?
and there is only one ether in my linux computer for outgoing trafic (My User Lan).
Need more detail, because i cant afford to down my network for more than 30 minutes.
waiting .
Alwida
Tefl E Maktab
-----------------------------
----- ----- ----- ------ ------ -------
-----------------------------
----- ----- ----- ------ ------ -------
sure, i can help. but i have to ask -- why can't you search the forum, or use google? it's not like you're the first person to ask about this. heck, i can remember at least two other people who asked about this in 2007, in this forum.
help yourself.
help yourself.
what's that supposed to mean?Electronic media did worst with Lal Masjid waly.
-
- Battalion Quarter Master Havaldaar
- Posts: 241
- Joined: Wed Dec 24, 2003 2:36 am
- Location: Pukhtoonistan
- Contact:
Salam O Alykum,lambda wrote:sure, i can help. but i have to ask -- why can't you search the forum, or use google? it's not like you're the first person to ask about this. heck, i can remember at least two other people who asked about this in 2007, in this forum.
help yourself.
what's that supposed to mean?Electronic media did worst with Lal Masjid waly.
1st of all very very thanks for your help, Every time i found you helpful, I believe that you told me (also others) for helping ourselves, Next time i will try best to follow your instructions,
This time i really did search but i think search function of this forum is not very rich (may be i am wrong), And on the google i found many links, and i got confused. ..Selecting the exact howto or tutorial for the person like me is like a great deed,
Removed this... Yes you havent told me for removing this,Electronic media did worst with Lal Masjid waly.
Alwida
Tefl E Maktab
-----------------------------
----- ----- ----- ------ ------ -------
-----------------------------
----- ----- ----- ------ ------ -------