This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:suse:network [2014/05/27 13:49] – [Ports] lunetikk | linux:suse:network [2018/12/20 17:44] (current) – Discussion status changed lunetikk | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Network ====== | ====== Network ====== | ||
| - | \\ | + | |
| ===== Ports ===== | ===== Ports ===== | ||
| - | \\ | + | |
| ^Port^Protocol^ | ^Port^Protocol^ | ||
| - | |20 + 21|FTP| | + | | 20 + 21 | FTP | |
| - | |22|SSH| | + | | 22 | SSH | |
| - | |25|SMTP| | + | | 25 | SMTP | |
| - | |80|http| | + | | 80 | |
| - | |137 + 139|TCP/UDP - Samba| | + | | 137 + 139 | TCP/UDP - SMB/Samba | |
| - | |443|https| | + | | 443 | |
| - | |8080|Proxy| | + | | 8080 | Proxy | |
| - | |3389|RDP| | + | | 3389 | RDP | |
| - | |3306|MySQL| | + | | 3306 | MySQL | |
| + | |||
| + | ===== Configuration ===== | ||
| + | |||
| + | |||
| + | ==== Proxy ==== | ||
| + | |||
| + | For your account only edit: | ||
| + | < | ||
| + | sudo vi / | ||
| + | </ | ||
| + | \\ | ||
| + | For global proxy edit: | ||
| + | < | ||
| + | sudo vi / | ||
| + | </ | ||
| + | add | ||
| + | < | ||
| + | export http_proxy=http:// | ||
| + | </ | ||
| + | \\ | ||
| + | Reload your configuration | ||
| + | < | ||
| + | source / | ||
| + | |||
| + | or | ||
| + | |||
| + | source / | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Change your IP ==== | ||
| + | |||
| + | Edit / | ||
| + | < | ||
| + | sudo vi / | ||
| + | </ | ||
| + | and add | ||
| + | < | ||
| + | auto eth0 | ||
| + | iface eth0 inet static | ||
| + | address 10.0.0.2 | ||
| + | netmask 255.0.0.0 | ||
| + | network 10.0.0.0 | ||
| + | broadcast 10.0.0.255 | ||
| + | gateway 10.0.0.1 | ||
| + | dns-nameservers 10.0.0.1 | ||
| + | </ | ||
| + | Restart your networkinterface | ||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Join a domain and change hostname ==== | ||
| + | |||
| + | Edit / | ||
| + | < | ||
| + | sudo vi / | ||
| + | </ | ||
| + | and add | ||
| + | < | ||
| + | 127.0.0.1 | ||
| + | 127.0.1.1 | ||
| + | 10.0.0.2 | ||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | Open / | ||
| + | < | ||
| + | sudo vi / | ||
| + | </ | ||
| + | Reload your hostname | ||
| + | < | ||
| + | hostname –F / | ||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | ~~DISCUSSION: | ||