This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open Desktop or Openserver.

There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

OSR5 FAQ

I am using the OSR5 ipnat, but ftp only works in passive mode.

Ian Peattie provided this:


Hate these ads?

Supposing your ipnat configuration looks like this:

 #!/bin/ksh
 MYIP=`ifconfig net0 | grep inet | awk '{ print $2 }'`
 ipnat -F
 ipnat -C
 ipnat -f - <<EOF
 map net0 192.168.200.0/24 -> $MYIP/32
 EOF
 

To add the ftp proxy, change your script to this:

  ----(start)---
  #!/bin/ksh
  MYIP=`ifconfig net0 | grep inet | awk '{ print $2 }'`
  ipnat -F
  ipnat -C
  ipnat -f - <<EOF
  map net0 192.168.200.0/24 -> $MYIP/32 proxy port ftp ftp/tcp
  map net0 192.168.200.0/24 -> $MYIP/32
  EOF
  ----(end)----
 

and then re-run it.



cartoon
Need eyes on the ground at your customer's site?
Installation and light training Boston and New England
Reliable and experienced, punctual and professional.


Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


M3IP inc.

Views for this page
Today This Week This Month This Year  Overall
21661899 1,853

/SCOFAQ/FAQ_scotec2ftpproxy.html copyright 1997-2003 (various) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - FAQ




Unix/Linux Consultants

Your ad here - $48.00 yearly!

UBB Computer Services Support for Openserver, Unixware and Linux. Windows integration with Unix/Linux servers. Hardware, Backup and Networking issues. Located near Sacramento CA, we provide onsite support throughout Northern CA and Nationwide via remote access. We are a SCO Authorized Partner and a Microlite BackupEdge Certified Reseller.


http://www.breakthru.com.au SCO (Openserver and Unixware), Unix, Solaris and Linux Consulting services including: Secure Networking Solutions; Linux based Firewalls; Backup Solutions; Secure Home to Office Network Setup; Phone, Remote and On-Site Support available - Satisfaction Guaranteed!


http://www.m3ipinc.com Security, firewalls, ids, audits, vulnerability assesments, BS7799, HIPAA, GLB, incident handling



Twitter
  • Nov 21 07:55
    @loudmouthman: correct, but how do you prove ANYTHING like that is accurate? You can't. A text file is no better or worse than anything.
  • Nov 21 07:40
    @loudmouthman: well, a digital signature could prove it hadn't been altered. Text is no more insecure than anything else in that sense.









Change Congress


Related Posts