cvs-import.sh help

Kevin Fenzi kevin at tummy.com
Sat Mar 19 21:55:29 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Shahms" == Shahms E King <shahms at shahms.com> writes:

Shahms> I'm in a similar situation at work.  My "solution" is an ugly
Shahms> one, but works. Attached is the script I use to accomplish it.

Shahms> It installs an iptables rule to redirect outgoing port 80 to
Shahms> cvs.fedora.redhat.com to localhost 8081, sets up an ssh
Shahms> tunnel, executes the command, kills the tunnel and removes the
Shahms> rule.  I said it was ugly, but it gets the job done.

I just had to add one rule in my firewall:

- -A OUTPUT -p tcp -m tcp --dport 80 -d 209.132.176.51 -j ACCEPT

Which hit before my rule that marks packets for port 80 to go out the
cable connection. :)

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFCPJ/U3imCezTjY0ERAmKoAJ9mVWJ15lMEUZcuIWUmnBVQ5Vvj7wCcC66Q
xdkTzsLnT3gHJIoZKY205RU=
=RN6x
-----END PGP SIGNATURE-----




More information about the Fedora-maintainers mailing list