Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CVSUP iza Zaštitnog zida
Author Message
struja13 Offline
Redoviti posjetitelj
**

Posts: 184
Joined: Oct 2007
Reputation: 0
Post: #1
CVSUP iza Zaštitnog zida
Nemogu nikako naci administratora zaštitnog zida da mi otvori port 5999, a negdje sam cito da mogu i koristit port 22 ssh ako se mogu logirati na udaljeno racunalo koristeci ssh, te da mogu onda tenelovati cv-sup kroz taj tunel...Pa zna li itko postupak?
30-10-2007 04:51 PM
Find all posts by this user Quote this message in a reply
struja13 Offline
Redoviti posjetitelj
**

Posts: 184
Joined: Oct 2007
Reputation: 0
Post: #2
RE: CVSUP iza Zaštitnog zida
Ljudi sta stvarno niko to nezna?
30-10-2007 08:10 PM
Find all posts by this user Quote this message in a reply
struja13 Offline
Redoviti posjetitelj
**

Posts: 184
Joined: Oct 2007
Reputation: 0
Post: #3
RE: CVSUP iza Zaštitnog zida
Hm...rijesio sam problem...nasrecu...pa ako kome bude zatrebalo evo:


Setup your cvsup file:

[tethys]:[10:14am]:[/home/rnejdl/www/networking/Unix] > cat /usr/local/etc/cvsup/ports-supfile
*default tag=.
*default host=cvsup6.freebsd.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr
*default release=cvs tag=RELENG_5_2
*default delete use-rel-suffix
*default compress
ports-all tag=.

You need to get shell access on a remote machine outside the firewall. This shouldn't be too hard, either your machine at home, a friends machine or one of those many that are offering free shell access. We'll call it "friendly.example.com"
From your FreeBSD machine behind the firewall you would open up a tunnel between yourself and the friendly machine on port 5999 for cvsup. This is done as follows:

$ ssh -L 5999:cvsupmirror.freebsd.org:5999 loginid@friendly.example.com

Replace "cvsupmirror.freebsd.org" with an actual one from the list of mirrors. loginid is your login name on the remote machine.

You will see the following in netstat when this connection is opened:

tcp4 0 0 127.0.0.1.5999 *.* LISTEN
tcp6 0 0 ::1.5999 *.* LISTEN

From another command prompt you run cvsup while pointing to your localhost as the cvsup server as such:

# cvsup -g -L2 -h localhost /path/to/cvsupfile
31-10-2007 11:21 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)