Θέλω να στήσω ένα μηχάνημα μέσα σε ένα LAN και από το σπίτι μου να συνδέομαι όπου θέλω στο internet μέσω αυτού του μηχανήματος και να φαίνεται οτι είμαι μέσα στο LAN. Συγκεκριμένα, θέλω να έχω πρόσβαση σε ηλεκτρονικές βιβλιοθήκες στις οποίες έχει συνδρομή το πανεπιστήμιο χωρίς να είμαι αναγκασμένος να βρίσκομαι στο πανεπιστήμιο.
Ένα PC σε ρόλο proxy server θα είναι η λύση ή έχετε να προτείνεται κάτι άλλο π.χ. VPN απο το σπιτι σε PC του πανεπιστημίου?
Εμφάνιση 1-15 από 16
-
10-10-06, 18:57 Proxy server, VPN ή κάτι άλλο? #1
-
10-10-06, 19:11 #2
-
11-10-06, 09:45 #3
Και τι software προτείνεις για VPN?
-
11-10-06, 09:55 #4
Η πιο απλη λυση ,που εχω κανει κ εγω, χωρις πολλα πολλα, ειναι ενα PC me 2k/XP να κανει τον VPN Server,(Αccept Incoming Connections). Aπο κει κ περα εξαρταται κ τι router εχεις μηπως κ υποστηριζει ο ιδιος VPN Server . .
=-=-=-=-Live Fast Die Young-=-=-=-=
Being Online Since 1999
-
11-10-06, 14:04 #5
-
11-10-06, 14:15 #6
OpenVPN ανεπιφύλακτα. Κάνει τα πάντα και συμφέρει.
Κατεβάζουμε την ισχύ του ασύρματου εξοπλισμού μας. Ας διατηρήσουμε το φάσμα συχνοτήτων καθαρό για να δουλεύουμε όλοι με λιγότερο κόπο και χρήμα.
Cyclades Wireless Network
-
11-10-06, 15:10 #7
-
11-10-06, 16:20 #8
-
11-10-06, 17:06 #9
-
11-10-06, 23:02 #10Κατεβάζουμε την ισχύ του ασύρματου εξοπλισμού μας. Ας διατηρήσουμε το φάσμα συχνοτήτων καθαρό για να δουλεύουμε όλοι με λιγότερο κόπο και χρήμα.
Cyclades Wireless Network
-
12-10-06, 10:40 #11
ok, θα το ψάξω με OpenVPN
-
12-10-06, 22:26 #12
Το έχω κάνει ως εξής:
1) Στήνεις hamachi στο linux (server). Ορίστε οι οδηγίες για archlinux http://wiki.archlinux.org/index.php/Hamachi
2) Στήνεις hamachi στο PC (client) που τρέχει WIN XP και επίσης υλοποιείς τα παρακάτω:
Κώδικας:http://forums.hamachi.cc/viewtopic.p...hlight=gateway Let me also give a quick, yet practical example. Say I am sitting in the office in front of Windows box and I want to access all machine on my home LAN. I also happened to have Linux box at home, which is running 0.9.9.9-13. Let's also assume that home LAN is 10.0.0.0/24 and Linux/Home client has Hamachi IP of 5.5.5.5. (a) Enable routed tunneling on Windows/Office box. I need this to remove 5.x.x.x check in Hamachi, so that I can stuff traffic destined for 10.0.0.x into the tunnel. Code: Add 'RoutedTunneling 1' to hamachi-override.ini and restart Hamachi. (b) Tell Windows that my LAN is accessible via Linux/Home computer. Code: run 'route add 10.0.0.0 mask 255.255.255.0 5.5.5.5' in a console Keep in mind that this route will disappear if Hamachi is shutdown. To prevent this from happening, go into Hamachi's preferences and check 'dont disabled adapter on exit' and 'dont release address' on System page. (c) At this point I am able to ping 10.0.0.x address and the packet will go into the tunnel and hit my Linux/Home box. So I need to tell it to forward it further - Code: echo 1 > /proc/sys/net/ipv4/ip_forward (d) At this point my pings will be reaching non-Hamachi'd LAN machines, but they will have 5.x.x.x as a source IP. This creates a problem with replies as the responding machine will see that 5.x.x.x is not on its 10.0.0.0/24 LAN and will send it to its default gateway. If Linux/Home IS a default router for LAN, then we are good and the ping will happily make it into a tunnel and back to my Windows box. In other words I am all set. Otherwise, I have two options. I can add the route on non-hamachi'd machine to tell it that 5.0.0.0/8 subnet is accessible via Linux/Home box OR I can configure Linux/Home to assume the identity of Windows box before it puts de-tunneled packets into LAN. In other words, configure it to do Source NAT on Windows->LAN traffic. To setup NAT, I need to have iptables either compiled into Linux/Home kernel or available as a module on it. And then create NAT rule with - Code: iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE where 'eth0' is physical interface connected to LAN. Note that this is very generic rule and it will actually allow me to access not just LAN, but anything that is accessible via eth0 interface. I can narrow it down a bit - Code: iptables -t nat -A POSTROUTING -s 5.1.1.1 -d 10.0.0.0/24 -o eth0 -j MASQUERADE where 5.1.1.1 is Hamachi IP of Windows box. ... This should give an idea of a crazy stuff RT can be used for. So how our alcohol-distilling friends like to say - PLEASE ENJOY RESPONSIBLY
route add 63.208.197.0 (hamachi servers) mask 255.255.255.0 192.168.0.1
route add <ip of linux server> mask 255.255.255.255 192.168.0.1
route add 0.0.0.0 mask 0.0.0.0 <hamachi IP of WIN XP client>
route delete 0.0.0.0 mask 0.0.0.0 192.068.0.1
Πλέον θα έχεις encrypted tunnel μέχρι το server και μετά ο server θα σε ρουτάρει στο υπόλοιπο ίντερνετ με την ΙΡ του και τη μέθοδο ΝΑΤ
-
13-10-06, 13:47 #13
Θα δοκιμάσω και αυτή τη λύση σε ένα testbed μηχάνημα για server, το οποίο όμως τρέχει Windows Server 2003 και οχι Linux, οπότε θα βάλω την έκδοση του hamachi για Win (η οποία ειναι beta oμως). Το βήμα 3 όμως δεν ξέρω πως το κάνω στα Windows...thanx πάντως
-
13-10-06, 22:09 #14
-
15-10-06, 18:46 #15
Ισως και το πανεπιστημιο σου εχει τετοιες πληροφοριες.
Συγκεκριμενα στο Αριστοτελειο υπαρχει οδηγος για το πως να στησεις VPN και να εχεις προσβαση σε βιβλιοθηκες και papers.
Καποια αντιστοιχη σελιδα ισως βρεις και στο δικο σου.
ΥΓ.Με το φοιτητικο ολα τα παραπανω ειναι αχρηστα μιας και εχεις κατευθειαν φοιτητικη IP.
Παρόμοια Θέματα
-
VPN server πίσω από NAT & Client πίσω από proxy
Από hedgehog στο φόρουμ NetworkingΜηνύματα: 28Τελευταίο Μήνυμα: 08-08-08, 17:03 -
Το κάτι άλλο
Από neosgrcom στο φόρουμ Η Γνώμη σαςΜηνύματα: 3Τελευταίο Μήνυμα: 09-11-06, 01:56 -
Κάτι σαν proxy
Από chat1978 στο φόρουμ NetworkingΜηνύματα: 10Τελευταίο Μήνυμα: 15-09-06, 18:47 -
Cisco VPN & MS Proxy Server
Από delrules στο φόρουμ Cisco ADSL modems και routersΜηνύματα: 0Τελευταίο Μήνυμα: 14-02-06, 17:36 -
Microsoft ISA Server / Proxy Server Internet Content Spoofing Vulnerability
Από aesir στο φόρουμ ΕιδήσειςΜηνύματα: 0Τελευταίο Μήνυμα: 10-11-04, 14:44
Bookmarks