/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! /* ALSO: Don't quote this header. It makes you look lame :-) */ raf wrote: > Tim wrote: > > > I've been trying to use ipmasq portfw for a VPN connection I'm attempting > > to set up and am having some problems with getting it to forward. > > > > I used the following command-line option(s): > > ipmasqadm portfw -P tcp -a -L 216.60.221.155 1723 -R 198.246.197.235 1723 > > > > I never could get the VPN connection established so I tried to telnet to > > the port and received the following: > > [root@tim /root]# telnet 216.60.221.155 1723 > > Trying 216.60.221.155... > > telnet: Unable to connect to remote host: Connection refused > > > > Am I doing something wrong here?? > > > > I know I can't use the redir tool, but when I use it instead, an attempt > > is made to connect to the Private IP VPN Server, but naturally can't > > complete the connection. > > it is necessary to set up masquerading before port forwarding will work. > i.e. you need something like: > > ipchains -P forward DENY > ipchains -A forward -s 198.246.197.235 -j MASQ > > before the ipmasqadm command will do anything. > > could this be your problem? sorry about that. i didn't realise the subject header changed. raf _______________________________________________ Masq maillist - [EMAIL PROTECTED] Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES UNSUBSCRIBING! or email to [EMAIL PROTECTED] PLEASE read the HOWTO and search the archives before posting. You can start your search at http://www.indyramp.com/masq/ Please keep general linux/unix/pc/internet questions off the list.
