[NTLUG:Discuss] cisco vpn client ver4.6 on SuSE 9.3 kernel 2.6
Steve Martindell
s_martindell at yahoo.com
Tue Aug 30 14:43:18 CDT 2005
I upgraded SuSE 8.2 kernel-2.4 to SuSE 9.3 kernel-2.6
in order to install the latest cisco vpn client 4.6.
After ~4 hours of dealing w/ missing config files,
files in the wrong place, and files not compiled,
I got it to connect to work with a standard c-shell.
When I start an X-application(like xcalc) it can't
send the display back to Linux PC at home.
I believe this is related to another script they
supplied that did not run correctly called
"set_X11_access".
What I want to do is just hard code this redhat script
to allow remote X display to work on home SuSE PC.
the two important commands in the "set_X11_access"
script are as follows:
1)# compute the X rule number
RULE_NO=`$IPTABLES -t filter --line-numbers -L INPUT |
grep "x11" | awk -F \ '{ print $1 }' - `
export RULE_NO
2)# execute rule
$IPTABLES -t filter -R $RULE_NO -i eth0 -p tcp --syn
--dport 6000:6255 -s 0/0 -d 0/0 $LOG -j $ACCESS
I think these two cmds opens up certain ports based on
the results of the grep "x11" command
But when I try command #1) on SuSE, it returns nothing
and so $RULE_NO never gets set, and therefore the
$IPTABLES command 2) complains:
"iptables v1.3.1: -R requires a rule number"
questions:
do I need to run this script ?
<or> can I hard code this script for SuSE ?
<or> can I just set the iptables by hand ?
<and> if so where do I set the iptables on SuSE ?
<and> how do I know which ports to allow/accept
access?
thanks,
-stevem
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Discuss
mailing list