387
edits
(update images to align and be less crappy looking) |
No edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Outdated}} | |||
==Why?== | ==Why?== | ||
One example of why port forwarding is great is security. Downloading email and browsing the Internet in such a way that the immediate (local) network does not know what you are doing. All it sees is encrypted SSH traffic, like that used when you type on RedBrick normally. | One example of why port forwarding is great is security. Downloading email and browsing the Internet in such a way that the immediate (local) network does not know what you are doing. All it sees is encrypted SSH traffic, like that used when you type on RedBrick normally. | ||
| Line 38: | Line 41: | ||
Where : | Where : | ||
* - | * -D specifies you want to link a dynamic port | ||
* 1337 is the local port (on your machine) you want to communicate on. | * 1337 is the local port (on your machine) you want to communicate on. | ||
* login.redbrick.dcu.ie is the server you want to open the SSH connection to | * login.redbrick.dcu.ie is the server you want to open the SSH connection to | ||
==Port forwarding for IRC== | ==Port forwarding for IRC== | ||
If you want to connect to RedBrick IRC with your own client you will need to use port forwarding to do this. | |||
The process is the same as the above, just using different addresses and port configurations. | The process is the same as the above, just using different addresses and port configurations. | ||
| Line 79: | Line 55: | ||
remote port: 6667 | remote port: 6667 | ||
So, | So for this it is instead using a local forward. So unlike the dynamic forward, instead set the option to be local, and add the destination as being irc.redbrick.dcu.ie:6667 | ||
On CLI this is: | |||
ssh -L 6667:irc.redbrick.dcu.ie:6667 username@login.redbrick.dcu.ie | |||
Now, just tell your | Now, just tell your IRC client that your IRC server is localhost :) | ||
[[Category:HowTo]] | [[Category:HowTo]] | ||