jeudi 27 décembre 2012

chroot user in ftp server proftp

To jail users to theirs respective home directories, add following to config file:
DefaulRoot ~

to /etc/proftpd/proftpd.conf

turn off suselinux firewall

/sbin/SuSEfirewall2 off
To start the firewall:
/sbin/SuSEfirewall2 on
If you want to temporarily disable your firewall:
/etc/init.d/SuSEfirewall2_setup stop

les serveurs de nom IAM maroc telecom

linux-baou:/etc/apache2 # dig @62.251.229.223 iam.ma ANY

; <<>> DiG 9.9.1-P2 <<>> @62.251.229.223 iam.ma ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7439
;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;iam.ma.                IN    ANY

;; ANSWER SECTION:
iam.ma.            919    IN    NS    dns.menara.ma.
iam.ma.            919    IN    NS    dns3.menara.ma.
iam.ma.            919    IN    NS    dns2.menara.ma.
iam.ma.            919    IN    NS    dns1.menara.ma.
iam.ma.            23065    IN    MX    10 servmx1.iam.ma.
iam.ma.            23065    IN    MX    10 servmx2.iam.ma.
iam.ma.            21858    IN    A    81.192.44.117

;; Query time: 94 msec
;; SERVER: 62.251.229.223#53(62.251.229.223)
;; WHEN: Thu Dec 27 12:20:27 2012
;; MSG SIZE  rcvd: 181
/etc # dig @62.251.229.237 iam.ma ANY

; <<>> DiG 9.9.1-P2 <<>> @62.251.229.237 iam.ma ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29075
;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;iam.ma.                IN    ANY

;; ANSWER SECTION:
iam.ma.            28797    IN    MX    10 servmx2.iam.ma.
iam.ma.            28797    IN    MX    10 servmx1.iam.ma.
iam.ma.            1329    IN    NS    dns3.menara.ma.
iam.ma.            1329    IN    NS    dns2.menara.ma.
iam.ma.            1329    IN    NS    dns1.menara.ma.
iam.ma.            1329    IN    NS    dns.menara.ma.
iam.ma.            16960    IN    A    81.192.44.117








mercredi 26 décembre 2012

Subprocess failed. Error: Echec RPM:

cd /var/lib/rpm
tu te retrouves dans le répertoire des bases de donnée de rpm, la commande "ls" te permet de les visualiser

Code:
rm ./*
pour virer les bases

puis

Code:
rpm --rebuilddb
zypper cc 
zypper ref

lundi 17 décembre 2012

DNS setup with only one public IP - possible?

http://www.syswan.com/docs/sw24html/SW24SERIES_USERGUIDE-V104REVCp9.htm

ip aliasing for NAT

IP aliasing

From Wikipedia, the free encyclopedia
IP aliasing is associating more than one IP address to a network interface. With this, one node on a network can have multiple connections to a network, each serving a different purpose. In the Linux kernel, it was first implemented byJuan José Ciarlante in 1995.[1] It has also been possible in Microsoft Windows NT since (at least) Windows NT 3.51,[2] released in 1995.


NAT - If I have multiple public IP, how can I configure multiple NAT in my Vigor router?





[Take Vigor2910 series as an example]

1.Open WAN>>Internet Access and click WAN IP Alias. Type your multiple public IPs in the following dialog.


Cisco ADS/router configuration

 cisco-800-series-router === end of sales :o 9dame

http://www.cisco.com/en/US/products/hw/routers/ps380/ps394/index.html
http://joe-ma-how-to.blogspot.com/2008/05/setting-up-cisco-800-series-router-for.html


plus recent

The Cisco 1700, 2600, and 3600 Series routers support the Asymmetric Digital Subscriber Line (ADSL) WAN Interface Card (WIC). All the three platforms are configured essentially the same. However, there are differences present in the hardware and in the Cisco IOS® Software release required for each one. Throughout this document, the Cisco 1700/2600/3600 is referred to as the Cisco ADSL WIC.




WAG200G

• Supports 802.11g and 802.11b wireless LAN 
• Supports 4 10/100 Auto MDI/MDI-X LAN switch ports 
• Support for RFC1483, PPPoE and PPPoA connections 
• Built-in ADSL modem with G.lite, G.dmt, G.992.3, G.992.5, and T1. 413 support

Nombre total de pages vues