iptables port forwarding

iptables port forwarding

I am port forwarding  public ip x.x.x.x  to private ip 192.168.200.200  .

iptables -A INPUT -i eth0 -p tcp –dport 5001 -m state –state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -o eth0 -p tcp –sport 5001 -m state –state ESTABLISHED -j ACCEPT
iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp –dport 5001 -j DNAT –to-destination 192.168.200.200:5001

Continue reading iptables port forwarding

How to configure UCCX Simple Auto Attendant

How to configure UCCX Simple Auto Attendant

I  am going to configure UCCX and CUCM for simple Auto Attendant using inbuilt script (aa.aef) in Cisco UCCX. I am not making any restriction so I am not using CSS and Partition to make it very simple .

we need to go through following steps .

  • Creating UCCX Call Control Group (CTI Ports in CUCM)
  • Adding  UCCX Script Application
  • Adding UCCX Trigger (CTI Route Point in CUCM)
  • Make a Test Call to Auto Attendant

Before going above steps  UCCX basic configuration  should be done as AXL, JTAPI and RMCM integration. As it is the POST  UCCX configuration after installation  .

Continue reading How to configure UCCX Simple Auto Attendant

How to configure MGCP on Cisco Router and CUCM

How to configure MGCP on Cisco Router and CUCM

To configure MGCP  on Cisco Router and CUCM below are the steps

1- Configure  E1 or T1 Port to work with MGCP

2- Configure Router for MGCP to register on CUCM

3-Configure CUCM

 

For step 1

Follow the link  http://www.gkhan.in/configure-cisco-router-t1-mgcp/

Step -2

mgcp
mgcp call-agent 192.168.100.11 service-type mgcp
mgcp bind control source-interface FastEthernet0/0.110
mgcp bind media source-interface FastEthernet0/0.110
mgcp dtmf-relay voip codec all mode out-of-band

Continue reading How to configure MGCP on Cisco Router and CUCM

How to configure Cisco Router T1 for MGCP

How to configure Cisco Router T1  for MGCP

Below steps checked on  Cisco 2811 and 2911 Routers

1- Check the  VVIC  location

R1#sh inventory
NAME: “2811 chassis”, DESCR: “2811 chassis”
PID: CISCO2811 , VID: V05 , 

NAME: “VWIC2-1MFT-T1/E1 – 1-Port RJ-48 Multiflex Trunk – T1/E1 on Slot 0 SubSlot 0“, DESCR: “VWIC2-1MFT-T1/E1 – 1-Port RJ-48 Multiflex Trunk – T1/E1”

 

Show inventory command shows you the location installed VVIC card in our case it is installed on Cisco Router Slot 0.

Continue reading How to configure Cisco Router T1 for MGCP

How to read config files in Cisco Router or Switch

How to read config files in Cisco Router or Switch

Check the name of the file and location.

R1#dir
Directory of flash:/

1 -rw- 67929600 Dec 12 2016 02:58:20 +00:00 c2800nm-adventerprisek9-mz.151-4.M12a.bin
2 -rw- 1622 May 26 2017 16:54:46 +00:00 Default
3 -rw- 2711 Sep 24 2017 17:45:02 +00:00 working24sept

255852544 bytes total (187912192 bytes free)

 

To read the content of file use command  “more”

Continue reading How to read config files in Cisco Router or Switch