Re: cvs-import.sh help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

>>>>> "Shahms" == Shahms E King <shahms@xxxxxxxxxx> 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-----


[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux