On Thu, 29 Jan 2004, G.Vinubalaji wrote:

Hi

Certain things happened the other day. I have a outgoing Dial-up to 
Intenet on ttyS0 on a D-link extl modem. I wanted to let remote users who 
dial-in thru ppp0---ppp7 to access the Net. 

Enabled IPTables to Masquerade using 

/sbin/iptables -t nat -A POSTROUTING -o ppp1 -j MASQUERADE
                                        ^^^^
and lo! was I able to connect to the Net as well i could ping between 
remote users be it ppp0,ppp2,ppp3 etc. But i am in a new fix. 
I need to 'fix' the 'ppp' interface to one value say 'ppp8' for my 
dial-out. i intend to enable demand dialing and dont want any random value 
of 'pppX' to come up, wherein i may need to manually set the iptable 
masquerade each time for that particular 'pppX'. 


> Nataraj S Narayan <[EMAIL PROTECTED]> wrote:
> 
> > I am able to access pass data from any remote user to the server 
> > (192.168.0.5) and vice versa. Now I want to exchange between two users
> > who are connected simultaneously. ie if the remote machines
> > 192.168.0.6 and 192.168.0.7 are connected ,i need to ping from one of
> > the machine to t
> 
> Yes you need a gateway(0.5) to access the remote machine. 
> 
> Here is how it is connected.
> 0.6 ---> 0.5
>           ^
>         |
>       0.7

> either add this route in 0.6 and 0.7
> /sbin/route add default gw 192.168.0.5

Dint have to fiddle with route much.
And the client connections are from WIndows machines.

> 
> or add this on 0.7 to access 0.6
> /sbin/route add -host 192.168.0.6 gw 192.168.0.5
> 
> 
> 


regards

Nataraj S Narayanan
Synergy Info Systems
Ph:09447136523




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to