[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

VPN question



I have 2 questions:

I was wondering what people use for VPN servers ?

Additionally, does anyone know VPN server software be run on a transparent bridge ?
Some thing that looks like this:

#filename: turn_bridge_on.sh
#description: sets up bridging
#load variables that hold card mappings
source /root/bridge_shell_scripts/ethernet_cards.sh
echo "checking variable qwest_card is $QWEST"
echo "checking variables inside card is $INSIDE"
echo 
echo "************************************"
echo "$QWEST NIC settings"
echo "************************************"
/bin/echo "reset $QWEST card"
/sbin/ifconfig $QWEST down
/sbin/ifconfig $QWEST 0.0.0.0 up
echo "reset auto neg on $QWEST card"
/usr/sbin/ethtool -r $QWEST 
echo "set $QWEST to 100 full duplex autoneg off"
/usr/sbin/ethtool -s $QWEST duplex full speed 100 autoneg off
echo "************************************"
echo "$INSIDE NIC settings"
echo "************************************"
/bin/echo "turning off and on $INSIDE"
/sbin/ifconfig $INSIDE down
/sbin/ifconfig $INSIDE 0.0.0.0 up
echo "reset auto neg on $INSIDE card"
/usr/sbin/ethtool -r $INSIDE
echo "set $INSIDE port to tp"
/usr/sbin/ethtool -s $INSIDE port tp
echo "set $INSIDE to 1000 full duplex autoneg off"
/usr/sbin/ethtool -s $INSIDE duplex full speed 1000 autoneg off
echo "$INSIDE -A autoneg off full duplex 1000"
/usr/sbin/ethtool -A $INSIDE autoneg off
echo "************************************"
echo "br0 (bridge) settings"
echo "************************************"
/bin/echo "create logical unit called br0"
/usr/sbin/brctl addbr br0
/bin/echo "STP is only needed if there is more than one bridge"
/usr/sbin/brctl stp br0 on
#/bin/echo "turn off stp on br0"
#/usr/sbin/brctl stp br0 off
/bin/echo "add $QWEST to virtual unit br0"
/usr/sbin/brctl addif br0 $QWEST
/bin/echo "add $INSIDE to virtual unit br0"
/usr/sbin/brctl addif br0 $INSIDE
/bin/echo "turning off and on reset bridge"
/sbin/ifconfig br0 down
/sbin/ifconfig br0 0.0.0.0 up

-- 
------------------------------------------
Ted Knab
Stevensville, Maryland  21666 USA
------------------------------------------
Error: Not enough pixels to render your signature.



Reply to: