DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 22nd May 2008
amac amac is offline
New User
 
Join Date: May 2008
Posts: 2
Thanked 0 Times in 0 Posts
Default Possible to run multiple instances of ftp-proxy on boot?

I recently upgraded (from 3.7) to 4.2 and ftp-proxy is no longer run from inetd. What I'm curious about is how to start multiple instances...

For example, I have 2 machines I want to forward FTP traffic to which is behind my pf firewall:

--- from /etc/rc.conf.local ---
Code:
ftpproxy_flags="-R 10.1.1.14 -p 21 -b 63.231.0.14"
ftpproxy_flags="-R 10.1.1.53 -p 21 -b 63.231.0.53"
I can manually start both instances, but if I reboot the machine, or run the /etc/rc script manually, only the last instance comes up:


Code:
fw# lsof -ni:21
COMMAND     PID  USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
ftp-proxy 23505 proxy    3u  IPv4 0xfffffe8009fd5000      0t0  TCP 63.231.0.53:ftp (LISTEN)
fw#

What's the proper way to accomplish this? I'm hoping I don't have to hack a script together to do this. inetd worked great in this instance, and I hesitate saying that because I'm not a big inetd fan in general

Any help appreciated!

(formally known as -- ariston)
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp-proxy in openbsd brody OpenBSD General 2 20th October 2008 04:18 PM
Tunnel to Proxy PatrickBaer General software and network 2 11th August 2008 03:32 PM
Multiple instances of Opera ebzzry FreeBSD General 7 24th July 2008 03:53 AM
Dual-boot laptop won't boot OpenBSD after upgrade to 4.3 kbeaucha OpenBSD Installation and Upgrading 17 30th May 2008 02:40 PM
pf and ftp-proxy clinty OpenBSD Security 5 7th May 2008 10:36 PM


All times are GMT. The time now is 02:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick