a cedie boyet alben benavente alteza EL alben wrote:

Ariz

Hmm I think this is what I need but in my understanding about the archive its been tried and work as a server. Would it work the same way as a gateway or to be more specific as a firewall using iptables?



(i think) it can, eventhough i haven't tried it before.

- gateway

i think you'll be needing multiple links to your ISP.
(afaicr, PLDT's (commercial) DSL have 4 lines per 1 link that your
gateway can connect to)


*care for an experiment? try splitting your phone line into two (ala ext phone). then connect those to each of your (2-) gateway's modem.

then create a startup script for your dial-up internet
connection. then place it on either /etc/ha.d/resources.d/
or /etc/rc.d/init.d/


-------------- dial-up.scr -----------------------


#!/bin/bash

RETVAL=0

case "$1" in
 start)
        #place your start-up code here
        ;;
 stop)
        #place your kill code here
        #i.e. killall <application>
        ;;
 *)
        echo $"Usage: dial-up.scr {start|stop}"
        exit 1
esac

exit $RETVAL


-------------- dial-up.scr -----------------------





- firewall


pwede, basa mag setup k ng 2 identical config ng firewall
then state mo lang pareho yun 2 Virtual IP sa haresources
at yun 2 NIC sa ha.cf


--------- haresources ---------------------



node_1.linux.com.ph 192.168.1.33 192.168.0.33



------------------------------------------- ------------- ha.cf -----------------------


debugfile /var/log/ha-debug logfile /var/log/ha-log logfacility local0 keepalive 1 deadtime 5 initdead 60 udpport 694 udp eth0 eth1 node node_1.linux.com.ph node node_2.linux.com.ph

------------------------------------------



kapag gumana, post mo sa list!


goodluck!



HTH






_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]

Reply via email to