cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
528
Views
0
Helpful
0
Replies

Access Public IP Address Internally Cisco 881

Kevinblac1
Level 1
Level 1

Hi All,

 

My end goal is to access the server while on the LAN and while am at home via the assigned public IP. Currently i can be able to access the server's services outside the network using the public IP but when am within the LAN am forced to switch to the LAN IP which i do not want. from  Below is my configuration. Can somebody please tell me what am doing wrong.

 

Current configuration : 4562 bytes
!
! Last configuration change at 06:33:10 UTC Sun Apr 15 2018 by xxxxx
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname xxxxxx
!
boot-start-marker
boot-end-marker
!
enable secret x xxxxxxxxx.
!
aaa new-model
!
!
!
!
!
!
!
aaa session-id common
memory-size iomem 10
!
crypto pki trustpoint TP-self-signed-3907746332
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3907746332
revocation-check none
rsakeypair TP-self-signed-3907746332
!
!
crypto pki certificate chain TP-self-signed-3907746332
certificate self-signed 04
30820242 308201AB A0030201 02020104 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33393037 37343633 3332301E 170D3138 30343132 30353538
30335A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 39303737
34363333 3230819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100E1FD FB58313B 993CDB81 DCDA6796 0E3EBB09 0020954A B871A917 596FD102
87C69B73 D89A542A 66045990 BC9A327D EAA9BFE3 DBCF5606 C9B829A2 846C39FF
5A2C403A 4D7B0A17 6EED09F2 57F89BAC F0DE14C9 C9DCBDF6 861F2829 D606EF8F
6B406F5F 0C2108F8 69D73C7C 308034B3 BECCB7D1 16637FCB 72512883 C409EC30
BF8F0203 010001A3 6A306830 0F060355 1D130101 FF040530 030101FF 30150603
551D1104 0E300C82 0A4E572D 5265616C 69746530 1F060355 1D230418 30168014
47B78111 8950FE3F DCBE388A 83A6E545 06A0F965 301D0603 551D0E04 16041447
B7811189 50FE3FDC BE388A83 A6E54506 A0F96530 0D06092A 864886F7 0D010104
05000381 810006FC 68F9E870 52757482 90FA5139 E1292D1A 9D18DCFC 0257C45B
6657318D 6145784A B97ACAA5 7FC592B3 6209B9D7 05175113 9D264F8B 0132EC37
F05E7FD2 BA871F00 E603E458 3059EB8D 11892FB5 8C0FB9B1 2B0B5006 02E872D7
8C1D9260 60E8F7BF 895561DF 2B38DBC9 B81E2273 ADFA4CC7 0D3BCDCC 31995B87
2595A990 712F
quit
ip source-route
!
!
ip dhcp excluded-address 192.168.1.108
ip dhcp excluded-address 192.168.1.175
ip dhcp excluded-address 192.168.1.106
!
ip dhcp pool Realite
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 196.201.225.19 41.222.20.16 8.8.8.8
lease 0 2
!
!
ip cef
ip name-server 196.200.16.2
ip name-server 196.200.16.27
no ipv6 cef
!
!
license udi pid CISCO881-K9 sn FCZ15149414
!
!
username xxxxxx password 7 xxxxxxxxx
username xxxxxx password 7xxxxxxxx
username xxxxxxx password 7 xxxxxxxxx
!
!
!
!
!
!
!
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
no ip address
ip virtual-reassembly
duplex auto
speed auto
pppoe-client dial-pool-number 1
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
ip nat enable
ip virtual-reassembly
!
interface Dialer1
description ISP DialIn
ip address negotiated
ip mtu 1492
ip nat enable
ip virtual-reassembly
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
dialer-group 1
ppp authentication pap chap callin
ppp chap hostname xxxxxxx
ppp chap password 7 xxxxxxxx
ppp pap sent-username xxxxxxxx password 7 xxxxxxxxxx
no cdp enable
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip nat source list 102 interface Dialer1 overload
ip nat source static tcp 192.168.1.94 53 41.215.139.95 53 extendable
ip nat source static tcp 192.168.1.94 80 41.215.139.95 80 extendable
ip nat source static tcp 192.168.1.94 2020 41.215.139.95 2020 extendable
ip nat source static tcp 192.168.1.94 3389 41.215.139.95 3389 extendable
ip route 0.0.0.0 0.0.0.0 Dialer1
!
access-list 102 permit ip 192.168.1.0 0.0.0.255 any
!
!
!
!
!
control-plane
scheduler max-task-time 5000
end

0 Replies 0